Ballerina library
lang.query
ballerina/lang.query Ballerina library
2201.11.0
Module overview
This module provides lang library operations on query-actions & query-expressions.
Functions
getQueryErrorRootCause
Isolated Function
Parameters
- err error -
prepareCompleteEarlyError
Isolated Function
function prepareCompleteEarlyError(error err) returns CompleteEarlyErrorPrepare error as a distinct CompleteEarlyError.
Parameters
- err error -
errorinstance
Return Type
- CompleteEarlyError - Prepared
CompleteEarlyErrorinstance
prepareQueryBodyError
Isolated Function
Prepare error as a distinct Error.
Parameters
- err error -
errorinstance
Return Type
- Error - Prepared
Errorinstance
Errors
lang.query: CompleteEarlyError
Distinct
lang.query: CompletionType
A type parameter that is a subtype of error?.
Has the special semantic that when used in a declaration
all uses in the declaration must refer to same type.
This represents the result type of an iterator.
lang.query: Error
Distinct
lang.query: ErrorType
A type parameter that is a subtype of error.
Has the special semantic that when used in a declaration
all uses in the declaration must refer to same type.
lang.query: QueryErrorTypes
Union types
lang.query: Type
Type
A type parameter that is a subtype of any|error.
Has the special semantic that when used in a declaration
all uses in the declaration must refer to same type.