Exception: Dewasm::Pozeiden::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Dewasm::Pozeiden::Error
- Defined in:
- lib/dewasm/pozeiden.rb
Overview
Raised when pozeiden returns a Zig error, and for input this gem rejects before calling into the WebAssembly module.
Instance Attribute Summary collapse
-
#zig_error ⇒ Object
readonly
The
@errorNamereported by pozeiden, or nil for a local rejection.
Instance Method Summary collapse
-
#initialize(message, zig_error: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, zig_error: nil) ⇒ Error
Returns a new instance of Error.
16 17 18 19 |
# File 'lib/dewasm/pozeiden.rb', line 16 def initialize(, zig_error: nil) super() @zig_error = zig_error end |
Instance Attribute Details
#zig_error ⇒ Object (readonly)
The @errorName reported by pozeiden, or nil for a local rejection.
14 15 16 |
# File 'lib/dewasm/pozeiden.rb', line 14 def zig_error @zig_error end |