ballerina/lang.error : 0.0.0

Module Overview

The lang.error module corresponds to the error basic type.

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

[1]

DefaultRetryManager

The RetryManager used by default.

Object types

[2]

RetryManager

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

StackFrame

Type representing a stack frame.

Records

[1]

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.