Ballerina library
lang.query
ballerina/lang.query Ballerina library
2201.10.2
Module overview
This module provides lang library operations on query-action
s & query-expression
s.
Functions
getQueryErrorRootCause
Isolated Function
Parameters
- err error -
prepareCompleteEarlyError
Isolated Function
function prepareCompleteEarlyError(error err) returns CompleteEarlyError
Prepare error
as a distinct CompleteEarlyError
.
Parameters
- err error -
error
instance
Return Type
- CompleteEarlyError - Prepared
CompleteEarlyError
instance
prepareQueryBodyError
Isolated Function
Prepare error
as a distinct Error
.
Parameters
- err error -
error
instance
Return Type
- Error - Prepared
Error
instance
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.