Exception: Servus::Support::Errors::NetworkAuthenticationRequiredError

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

Overview

511 Network Authentication Required - client needs to authenticate for network access.

Constant Summary collapse

DEFAULT_MESSAGE =
'Network authentication required'

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



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

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

#http_statusObject



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

def http_status = :network_authentication_required