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

  • is

API Documentation

Functions

is

   
Signature cp.spec.Error.is(other) -> boolean
Type Function
Description Checks if the other is an instance of the Error class.
Parameters
  • other - An object to check
Returns
  • A boolean
Notes None
Examples None
Source src/extensions/cp/spec/Error.lua line 9