#cp.spec.Error

Provides an Error message, which can be thrown via the error function.


#API Overview

Functions - API calls offered directly by the extension


#API Documentation

#Functions

Signaturecp.spec.Error.is(other) -> boolean
TypeFunction
DescriptionChecks if the other is an instance of the Error class.
Parameters
  • other - An object to check
Returns
  • A boolean
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/spec/Error.lua line 9