Exception: Saklient::Errors::HttpNotFoundException

Inherits:
HttpException
  • Object
show all
Defined in:
lib/saklient/errors/http_not_found_exception.rb

Overview

対象が見つかりません. 対象は利用できない状態か, IDまたはパスに誤りがあります.

Direct Known Subclasses

Cloud::Errors::AmbiguousIdentifierException, Cloud::Errors::InvalidUriArgumentException, Cloud::Errors::ReplicaNotFoundException, Cloud::Errors::ResourcePathNotFoundException

Instance Attribute Summary

Attributes inherited from HttpException

#code, #status

Instance Method Summary (collapse)

Constructor Details

- (HttpNotFoundException) initialize(status, code = nil, message = '')

Returns a new instance of HttpNotFoundException

Parameters:

  • status (Fixnum)
  • code (String) (defaults to: nil)
  • message (String) (defaults to: '')


16
17
18
# File 'lib/saklient/errors/http_not_found_exception.rb', line 16

def initialize(status, code = nil, message = '')
  super(status, code, (message).nil? || message == '' ? '対象が見つかりません。対象は利用できない状態か、IDまたはパスに誤りがあります。' : message)
end