← Standard library

Error

error Error
import Error from Wax;

An error carrying a human-readable message. Use more specific error types when callers need structured failure information.

Object.wax:113

Inherits from object. Follow these links for inherited members.

Members

messagefield

public string message

Human-readable failure information.

Object.wax:118

constructorconstructor

public constructor (string message)

Creates an error with the supplied message.

Object.wax:123