Exception: Gs2::Core::BadRequestException

Inherits:
Exception
  • Object
show all
Defined in:
lib/gs2/core/BadRequestException.rb

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ BadRequestException

Returns a new instance of BadRequestException.



4
5
6
7
# File 'lib/gs2/core/BadRequestException.rb', line 4

def initialize(errors)
  super(errors)
  @errors = errors
end

Instance Method Details

#errorsObject



9
10
11
# File 'lib/gs2/core/BadRequestException.rb', line 9

def errors()
  return @errors
end