Exception: Vibe::Error::Validations

Inherits:
ClientError show all
Defined in:
lib/vibe/error/validations.rb

Instance Attribute Summary

Attributes inherited from ClientError

#problem, #resolution, #summary

Attributes inherited from VibeError

#response_headers, #response_message

Instance Method Summary collapse

Methods inherited from ClientError

#generate_message

Constructor Details

#initialize(errors) ⇒ Validations

Returns a new instance of Validations.



5
6
7
8
9
10
11
12
13
# File 'lib/vibe/error/validations.rb', line 5

def initialize(errors)
  super(
    generate_message(
      :problem => '',
      :summary => '',
      :resolution => ''
    )
  )
end