Exception: Whisper::Error

Inherits:
StandardError
  • Object
show all
Defined in:
sig/whisper.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#code ⇒ Integer (readonly)

Returns the value of attribute code.

Returns:

  • (Integer)


1020
1021
1022
# File 'sig/whisper.rbs', line 1020

def code
  @code
end

Class Method Details

.new ⇒ instance

Parameters:

  • code (Integer)

Returns:

  • (instance)


1022
# File 'sig/whisper.rbs', line 1022

def self.new: (Integer code) -> instance