Exception: Unimatrix::AuthorizationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/unimatrix/authorization_error.rb

Instance Method Summary collapse

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( message = nil )

  message = 'Error: Authorization has failed.' if message.nil?

  super( message )

end