Exception: Virtuaservices::Factories::Errors::GatewayNotFound

Inherits:
Utils::Errors::HTTPError show all
Defined in:
lib/virtuaservices/factories/errors/gateway_not_found.rb

Overview

Error raised when not gateway active and running is found in the factory.

Author:

Instance Attribute Summary

Attributes inherited from Utils::Errors::HTTPError

#action, #error, #field, #status

Instance Method Summary collapse

Constructor Details

#initialize(action:) ⇒ GatewayNotFound

Returns a new instance of GatewayNotFound.



8
9
10
# File 'lib/virtuaservices/factories/errors/gateway_not_found.rb', line 8

def initialize(action:)
  super(action, 'gateway_id', 'not_found', 404)
end