Exception: FreshJwt::ContractError
- Inherits:
-
StandardError
- Object
- StandardError
- FreshJwt::ContractError
- Defined in:
- lib/contracts/issuer_contract.rb
Constant Summary collapse
- DEFAULT_MESSAGE =
'something wrong with Contract'
Instance Method Summary collapse
-
#initialize(msg = DEFAULT_MESSAGE, exception_type = 'custom') ⇒ ContractError
constructor
A new instance of ContractError.
- #message ⇒ Object
Constructor Details
#initialize(msg = DEFAULT_MESSAGE, exception_type = 'custom') ⇒ ContractError
Returns a new instance of ContractError.
4 5 6 7 |
# File 'lib/contracts/issuer_contract.rb', line 4 def initialize(msg = DEFAULT_MESSAGE, exception_type='custom') @exception_type = exception_type super(msg) end |
Instance Method Details
#message ⇒ Object
8 9 10 |
# File 'lib/contracts/issuer_contract.rb', line 8 def super end |