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

Constants inherited from StandardError

StandardError::MAX_BACKTRACE_LINES

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

Methods inherited from StandardError

#report

Constructor Details

This class inherits a constructor from Card::Error

Instance Method Details

#card_message_textObject



106
107
108
# File 'lib/card/error.rb', line 106

def card_message_text
  card.errors[:permission_denied]
end