class PlaceOS::Driver::RemoteException

Defined in:

placeos-driver/exception.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : String | Nil, class_name : String | Nil, backtrace : Array(String) = [] of String, code : Int32 = 500) #

[View source]
def self.new(message : String, cause : Exception, backtrace : Array(String), code : Int32 = 500) #

[View source]

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”.


[View source]
def code : Int32 #

[View source]