Exception: KazeClient::Error::InternalServerError

Inherits:
Generic
  • Object
show all
Defined in:
lib/kaze_client/error/internal_server_error.rb

Overview

Generic 500 error sent by Kaze server

Author:

Since:

  • 0.1.0

Constant Summary

Constants inherited from Generic

Generic::DEFAULT_MESSAGE

Instance Attribute Summary

Attributes inherited from Generic

#error, #status

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'An unknown error occured') ⇒ InternalServerError

Returns a new instance of InternalServerError.

Since:

  • 0.1.0



11
12
13
# File 'lib/kaze_client/error/internal_server_error.rb', line 11

def initialize(msg='An unknown error occured')
  super(message: msg)
end