Exception: ApiError::Forbidden

Inherits:
Http
  • Object
show all
Defined in:
lib/api_error/forbidden.rb

Overview

Exception thrown for 403 errors

Instance Attribute Summary

Attributes inherited from Http

#code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Forbidden") ⇒ Forbidden

Returns a new instance of Forbidden.



8
9
10
# File 'lib/api_error/forbidden.rb', line 8

def initialize(message = "Forbidden")
  super(message, 403)
end