Class: Safrano::ErrorNotFoundSegment
- Inherits:
-
ErrorNotFound
- Object
- ErrorNotFound
- Safrano::ErrorNotFoundSegment
- Includes:
- ErrorInstance
- Defined in:
- lib/odata/error.rb
Overview
http not found segment
Constant Summary
Constants inherited from ErrorNotFound
Safrano::ErrorNotFound::HTTP_CODE
Constants included from ErrorClass
Instance Method Summary collapse
-
#initialize(segment) ⇒ ErrorNotFoundSegment
constructor
A new instance of ErrorNotFoundSegment.
Methods included from ErrorInstance
Methods included from Contract::Invalid
#collect_result!, #error, #if_error, #if_valid, #if_valid_collect, #map_result!, #result, #tap_error, #tap_valid
Methods included from ErrorClass
Constructor Details
#initialize(segment) ⇒ ErrorNotFoundSegment
Returns a new instance of ErrorNotFoundSegment.
244 245 246 |
# File 'lib/odata/error.rb', line 244 def initialize(segment) @msg = "The requested ressource segment #{segment} was not found" end |