Exception: Rexec::AuthError

Inherits:
APIError show all
Defined in:
lib/rexec/error.rb

Overview

Authentication error (401/403).

Instance Attribute Summary

Attributes inherited from APIError

#response_body, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Authentication failed") ⇒ AuthError

Returns a new instance of AuthError.



20
21
22
# File 'lib/rexec/error.rb', line 20

def initialize(message = "Authentication failed")
  super(401, message)
end