Exception: Virtuaservices::Utils::Errors::NotFound

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/virtuaservices/utils/errors/not_found.rb

Overview

A not found error occurs when a user tries to reach a resource that does not exist.

Author:

Instance Attribute Summary

Attributes inherited from HTTPError

#action, #error, #field, #status

Instance Method Summary collapse

Constructor Details

#initialize(field:, action:, error:) ⇒ NotFound

Returns a new instance of NotFound.



8
9
10
# File 'lib/virtuaservices/utils/errors/not_found.rb', line 8

def initialize (field:, action:, error:)
  super(action, field, error, 404)
end