Exception: Card::Error::PermissionDenied

Inherits:
UserError show all
Defined in:
lib/card/error.rb

Overview

permission errors

Constant Summary

Constants inherited from Card::Error

KEY_MAP

Instance Attribute Summary

Attributes inherited from Card::Error

#card

Instance Method Summary collapse

Methods inherited from Card::Error

card_error_class, cardify_exception, #initialize, invalid_card_error_class, #message_from_card, #report

Constructor Details

This class inherits a constructor from Card::Error

Instance Method Details

#card_message_textObject



75
76
77
# File 'lib/card/error.rb', line 75

def card_message_text
  card.errors[:permission_denied]
end