Exception: Ashikawa::Core::DocumentNotFoundException

Inherits:
ResourceNotFound show all
Defined in:
lib/ashikawa-core/exceptions/client_error/resource_not_found/document_not_found.rb

Overview

This Exception is thrown when a document was requested from the server that does not exist.

Instance Method Summary collapse

Methods inherited from ResourceNotFound

#default_error_message

Methods inherited from ClientError

#default_error_message, #initialize

Constructor Details

This class inherits a constructor from Ashikawa::Core::ClientError

Instance Method Details

#to_sObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

String representation of the exception

Returns:

  • String



13
14
15
# File 'lib/ashikawa-core/exceptions/client_error/resource_not_found/document_not_found.rb', line 13

def to_s
  'You requested a document from the server that does not exist'
end