Method: Femto::RequestException#initialize
- Defined in:
- lib/femto.rb
#initialize(code, msg) ⇒ RequestException
Returns a new instance of RequestException.
137 138 139 140 141 |
# File 'lib/femto.rb', line 137 def initialize(code, msg) super "#{code}: #{msg}" @code = code = msg end |