Exception: Card::Error::PermissionDenied

Inherits:
UserError show all
Defined in:
card/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



102
103
104
# File 'card/lib/card/error.rb', line 102

def card_message_text
  card.errors[:permission_denied]
end