Exception: Use0MK::InvalidAPICall

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

Overview

API call not supported by 0.mk. Check SHORTEN_URI and PREVIEW_URI to see which API is being used. Probably an internal error.

status: 7

Instance Attribute Summary

Attributes inherited from Error

#message, #status

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidAPICall

Returns a new instance of InvalidAPICall.



120
121
122
123
# File 'lib/use0mk.rb', line 120

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