ballerina/lang.error : 0.0.0

Module Overview

The lang.error module corresponds to basic type error.

Functions

[6]

cause

Returns the error's cause.

detail

Returns the error's detail record.

message

Returns the error's message.

stackTrace

Returns an object representing the stack trace of the error.

toBalString

Converts an error to a string that describes the value in Ballerina syntax.

toString

Converts an error to a string.

Classes

[2]

CallStack

Represents an error call stack.

DefaultRetryManager

The RetryManager used by default.

Object Types

[1]

RetryManager

The type to allow control over retries performed by the retry statement and retry transaction statement.

Records

[2]

CallStackElement

Representation of CallStackElement.

Detail

The type to which error detail records must belong.

Types

[1]

DetailType

A type parameter that is a subtype of error Detail record type.

Errors

[1]

Retriable

A type of error which can be retried.