Exception: Rospatent::Errors::NotFoundError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/rospatent/errors.rb

Overview

Raised when a resource is not found

Instance Attribute Summary

Attributes inherited from ApiError

#request_id, #response_body, #status_code

Instance Method Summary collapse

Methods inherited from ApiError

#retryable?, #to_s

Constructor Details

#initialize(message = "Resource not found", status_code = 404) ⇒ NotFoundError



71
72
73
# File 'lib/rospatent/errors.rb', line 71

def initialize(message = "Resource not found", status_code = 404)
  super
end