Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crystal-lua
main
Lua
Any
Type
Buffer
Callable
Error
Export
FailError
FileError
Function
Library
MemoryError
MessageHandlerError
Mode
Reference
RuntimeError
State
SyntaxError
Table
Type
Generated using Crystal 1.12.2
2024-09-08 01:44:18 UTC
class
Lua::
Error
Lua::Error
Exception
Reference
Object
Direct Known Subclasses
Lua::FailError
Lua::FileError
Lua::MemoryError
Lua::MessageHandlerError
Lua::RuntimeError
Lua::SyntaxError
Defined in:
crystal-lua/errors.cr
Constructors
.new
(code : Int32, message : String | Nil)
.new
(message : String | Nil)
Class Method Summary
.from_status
(code : Int32, message : String | Nil =
nil
)
Instance Method Summary
#code
: Int32 | Nil
Constructor Detail
def self.
new
(code : Int32, message : String | Nil)
#
[
View source
]
def self.
new
(message : String | Nil)
#
[
View source
]
Class Method Detail
def self.
from_status
(code : Int32, message : String | Nil =
nil
)
#
[
View source
]
Instance Method Detail
def
code
: Int32 | Nil
#
[
View source
]