SAMP Results
SAMP.SAMPResult
— TypeThe parent of all SAMP results
SAMP.SAMPSuccess
— TypeSAMP.SAMPError
— TypeSAMPError <:
SAMPResult
A faulty SAMP result.
Fields
error
: the error raised, as a stringuser
: an optional additional user messagedebug
: an optional longer string which may contain more detail on what went wrong. This is typically intended for debugging purposes, and may for instance be a stack trace.code
: an optional string containing a numeric or textual code identifying the error, perhaps intended to be parsable by software.
SAMP.SAMPWarning
— TypeSAMPWarning <:
SAMPResult
A partially successful SAMP result.
Fields
value
: the value returnedwarning
: a structure of typeSAMPError
, with details on what went wrong