http://zorba.io/errors

Description

Before using any of the functions below please remember to import the module namespace:

import module namespace zerr = "http://zorba.io/errors";

This module contains one variable declaration for each diagnostic of the http://zorba.io/errors namespace. The variables serves as documentation for the errors but can also be used in the code. For example, one useful scenario is to compare an error caught in the catch clause of a try-catch expression with one of the variables.

Module code

Here is the actual XQuery module code.

Authors

Carlos Lopez

Version Declaration

xquery version "1.0" encoding "utf-8";

Namespaces

zerrhttp://zorba.io/errors

Variables

zerr:NS

zerr:ZXQP0000 as xs:QName

An "error" constant for "no error."

zerr:ZXQP0001

zerr:ZXQP0002 as xs:QName

A Zorba programming assertion failed. If this error occurs, it is a bug and should be reported.

zerr:ZXQP0003 as xs:QName

Something unexpected occurred in Zorba. If this error occurs, it is a bug and should be reported.

zerr:ZXQP0004 as xs:QName

A particular XQuery feature has not been implemented by Zorba.

zerr:ZXQP0005 as xs:QName

A particular XQuery feature has been implemented by Zorba, but the feature has not been enabled in the current build.

zerr:ZXQP0006

zerr:ZXQP0007

zerr:ZXQP0008

zerr:ZXQP0009

zerr:ZXQP0010

zerr:ZXQP0011

zerr:ZXQP0012

zerr:ZXQP0013

zerr:ZXQP0014

zerr:ZXQP0016

zerr:ZXQP0017

zerr:ZXQP0020

zerr:ZXQP0021

zerr:ZXQP0024

zerr:ZXQP0025

zerr:ZXQP0026

zerr:ZXQP0028

zerr:ZXQP0029

zerr:ZXQP0030

zerr:ZXQP0031

zerr:ZXQP0032

zerr:ZXQP0033

zerr:ZXQP0035

zerr:ZXQP0036

zerr:ZXQP0037

zerr:ZXQP0038

zerr:ZXQP0039

zerr:ZXQP0040

zerr:ZXQP0050

zerr:ZXQP0060

zerr:ZXQP0061

zerr:ZXQP8401 as xs:QName

The version of the thesaurus is not the expected version.

zerr:ZXQP8402 as xs:QName

The thesaurus data file's endianness does not match that of the CPU.

zerr:ZXQP8403 as xs:QName

The thesaurus data contains an unexpected value.

zerr:ZXQD0001

zerr:ZXQD0002

zerr:ZXQD0003

zerr:ZXQD0004

zerr:ZXQD0005

zerr:ZXQD0006

zerr:ZAPI0002

zerr:ZAPI0003

zerr:ZAPI0004

zerr:ZAPI0005

zerr:ZAPI0006

zerr:ZAPI0007

zerr:ZAPI0008

zerr:ZAPI0009

zerr:ZAPI0011

zerr:ZAPI0014

zerr:ZAPI0015

zerr:ZAPI0019

zerr:ZAPI0020

zerr:ZAPI0021

zerr:ZAPI0023

zerr:ZAPI0024

zerr:ZAPI0025

zerr:ZAPI0026

zerr:ZAPI0027

zerr:ZAPI0028

zerr:ZAPI0029

zerr:ZAPI0030

zerr:ZAPI0039

zerr:ZAPI0040

zerr:ZAPI0041

zerr:ZAPI0042

zerr:ZAPI0043

zerr:ZAPI0045

zerr:ZAPI0070

zerr:ZAPI0080

zerr:ZAPI0090

zerr:ZCSE0001

zerr:ZCSE0002

zerr:ZCSE0003

zerr:ZCSE0004

zerr:ZCSE0005

zerr:ZCSE0006

zerr:ZCSE0007

zerr:ZCSE0008

zerr:ZCSE0009

zerr:ZCSE0010

zerr:ZCSE0011

zerr:ZCSE0012

zerr:ZCSE0013

zerr:ZCSE0014

zerr:ZCSE0015

zerr:ZCSE0016

zerr:ZCSE0017

zerr:ZDDY0001

zerr:ZDDY0002

zerr:ZDDY0003

zerr:ZDDY0004

zerr:ZDDY0005

zerr:ZDDY0006

zerr:ZDDY0007

zerr:ZDDY0008

zerr:ZDDY0009

zerr:ZDDY0010

zerr:ZDDY0011

zerr:ZDDY0012

zerr:ZDDY0013

zerr:ZDDY0014

zerr:ZDDY0015

zerr:ZDDY0016

zerr:ZDDY0017

zerr:ZDDY0018

zerr:ZDDY0020

zerr:ZDDY0019

zerr:ZDDY0021

zerr:ZDDY0022

zerr:ZDDY0023

zerr:ZDDY0024

zerr:ZDDY0025

zerr:ZDDY0026

zerr:ZDDY0027

zerr:ZDDY0028

zerr:ZDDY0029

zerr:ZDDY0030

zerr:ZDDY0031

zerr:ZDDY0032

zerr:ZDDY0033

zerr:ZDDY0034

zerr:ZDDY0035

zerr:ZDDY0036

zerr:ZDDY0037

zerr:ZDDY0038

zerr:ZDDY0039

zerr:ZDDY0040

zerr:ZDDY0041

zerr:ZDDY0042

zerr:ZDDY0043

zerr:ZDST0001

zerr:ZDST0002

zerr:ZDST0003

zerr:ZDST0004

zerr:ZDST0006

zerr:ZDST0007

zerr:ZDST0021

zerr:ZDST0022

zerr:ZDST0023

zerr:ZDST0024

zerr:ZDST0025

zerr:ZDST0026

zerr:ZDST0027

zerr:ZDST0028

zerr:ZDST0029

zerr:ZDST0030

zerr:ZDST0031

zerr:ZDST0032

zerr:ZDST0033

zerr:ZDST0034

zerr:ZDST0035

zerr:ZDST0036

zerr:ZDST0041

zerr:ZDST0044

zerr:ZDST0048

zerr:ZDST0060

zerr:ZDTY0001

zerr:ZDTY0010

zerr:ZDTY0011

zerr:ZDTY0012

zerr:ZGDB0001

zerr:ZOSE0001

zerr:ZOSE0002

zerr:ZOSE0003

zerr:ZOSE0004

zerr:ZOSE0005

zerr:ZOSE0006

zerr:ZOSE0007

zerr:ZSTR0001

zerr:ZSTR0002

zerr:ZSTR0003

zerr:ZSTR0004

zerr:ZSTR0007

zerr:ZSTR0008

zerr:ZSTR0009

zerr:ZSTR0010

zerr:ZSTR0011

zerr:ZSTR0012

zerr:ZSTR0013

zerr:ZSTR0015

zerr:ZSTR0016

zerr:ZSTR0020

zerr:ZSTR0021

zerr:ZSTR0030

zerr:ZSTR0040

zerr:ZSTR0041

zerr:ZSTR0045

zerr:ZSTR0050

zerr:ZSTR0055

zerr:ZSTR0060

zerr:ZSTR0065

zerr:ZSTR0066

zerr:XSST0001

zerr:XSST0002

zerr:XSST0003

zerr:XSST0004

zerr:XSST0005

zerr:XSST0006

zerr:XSST0007

zerr:XSST0008

zerr:XSST0009

zerr:XSST0010

zerr:ZJPE0001

zerr:ZJPE0002

zerr:ZJPE0003

zerr:ZJPE0004

zerr:ZJPE0005

zerr:ZJPE0006

zerr:ZJPE0007

zerr:ZJPE0008

zerr:ZJPE0009

zerr:ZJPE0010

zerr:ZJSE0001

zerr:ZJSE0002

zerr:ZJSE0003

zerr:ZJSE0004

zerr:ZJSE0007

zerr:ZJSE0008

zerr:ZJSE0009

zerr:ZJ2X0001