Exception: BoltServer::RequestError

Inherits:
Bolt::Error
  • Object
show all
Defined in:
lib/bolt_server/request_error.rb

Instance Attribute Summary

Attributes inherited from Bolt::Error

#details, #error_code, #issue_code, #kind

Instance Method Summary collapse

Methods inherited from Bolt::Error

#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task

Constructor Details

#initialize(msg, details = {}) ⇒ RequestError

Returns a new instance of RequestError.


7
8
9
# File 'lib/bolt_server/request_error.rb', line 7

def initialize(msg, details = {})
  super(msg, 'bolt-server/request-error', details)
end