class PlaceOS::Driver::RemoteException
- PlaceOS::Driver::RemoteException
- Exception
- Reference
- Object
Defined in:
placeos-driver/exception.crConstructors
- .new(message : String | Nil, class_name : String | Nil, backtrace : Array(String) = [] of String, code : Int32 = 500)
- .new(message : String, cause : Exception, backtrace : Array(String), code : Int32 = 500)
Instance Method Summary
-
#backtrace? : Array(String)
Returns any backtrace associated with the exception if the call stack exists.
- #code : Int32
Constructor Detail
def self.new(message : String | Nil, class_name : String | Nil, backtrace : Array(String) = [] of String, code : Int32 = 500)
#
def self.new(message : String, cause : Exception, backtrace : Array(String), code : Int32 = 500)
#
Instance Method Detail
def backtrace? : Array(String)
#
Description copied from class Exception
Returns any backtrace associated with the exception if the call stack exists. The backtrace is an array of strings, each containing “0xAddress: Function at File Line Column”.