Exception: Use0MK::InvalidLinkError

Inherits:
Error
  • Object
show all
Defined in:
lib/use0mk.rb

Overview

Provided link (any URI concerning any API call) was invalid.

status: 2

Instance Attribute Summary

Attributes inherited from Error

#message, #status

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidLinkError

Returns a new instance of InvalidLinkError.



68
69
70
71
# File 'lib/use0mk.rb', line 68

def initialize(message)
  @message = message
  @status = 2
end