Exception: Passwordstate::ClientError

Inherits:
HTTPError show all
Defined in:
lib/passwordstate/errors.rb

Overview

4xx

Direct Known Subclasses

ForbiddenError, NotFoundError, UnauthorizedError

Instance Attribute Summary

Attributes inherited from HTTPError

#code, #errors, #request, #response

Instance Method Summary collapse

Methods inherited from HTTPError

new_by_code

Constructor Details

#initialize(code, req, res, errors = []) ⇒ ClientError

Returns a new instance of ClientError.



43
44
45
# File 'lib/passwordstate/errors.rb', line 43

def initialize(code, req, res, errors = [])
  super
end