Sha256: fa5e7a126fca872cc731e2d7dcad6bdfea1cf887ab52982ccdd58032a4d0f1f5
Contents?: true
Size: 580 Bytes
Versions: 4
Compression:
Stored size: 580 Bytes
Contents
require "ashikawa-core/exceptions/client_error.rb" module Ashikawa module Core # This Exception is thrown when you request # a resource that does not exist on the server class ResourceNotFound < ClientError # Create a new instance # # @return RuntimeError # @api private def initialize super(404) end # String representation of the exception # # @return String # @api private def to_s "Status 404: The Resource you requested was not found on the server" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems