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

#backtrace, #card

Instance Method Summary collapse

Methods inherited from Card::Error

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

Constructor Details

This class inherits a constructor from Card::Error

Instance Method Details

#card_message_textObject



97
98
99
# File 'lib/card/error.rb', line 97

def card_message_text
  card.errors[:permission_denied]
end