Exception: Servus::Support::Errors::NotImplementedError

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/servus/support/errors.rb

Overview

501 Not Implemented - server does not support the functionality required.

Constant Summary collapse

DEFAULT_MESSAGE =
'Not implemented'

Instance Attribute Summary

Attributes inherited from ServiceError

#message

Instance Method Summary collapse

Methods inherited from ServiceError

#initialize

Constructor Details

This class inherits a constructor from Servus::Support::Errors::ServiceError

Instance Method Details

#api_errorObject



347
# File 'lib/servus/support/errors.rb', line 347

def api_error = { code: http_status, message: message }

#http_statusObject



346
# File 'lib/servus/support/errors.rb', line 346

def http_status = :not_implemented