Exception: Mobiscroll::Connect::NotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/mobiscroll/connect/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Resource not found') ⇒ NotFoundError

Returns a new instance of NotFoundError.



21
22
23
# File 'lib/mobiscroll/connect/errors.rb', line 21

def initialize(message = 'Resource not found')
  super(message, code: 'NOT_FOUND_ERROR')
end