Exception: Unimatrix::AuthorizationError
- Inherits:
-
StandardError
- Object
- StandardError
- Unimatrix::AuthorizationError
- Defined in:
- lib/unimatrix/authorization_error.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ AuthorizationError
constructor
A new instance of AuthorizationError.
Constructor Details
#initialize(message = nil) ⇒ AuthorizationError
Returns a new instance of AuthorizationError.
5 6 7 8 9 10 11 |
# File 'lib/unimatrix/authorization_error.rb', line 5 def initialize( = nil ) = 'Error: Authorization has failed.' if .nil? super( ) end |