==Try/Catch==
The well-known try/catch construct can be used in BaseX to interceptrun-time errors. This feature will also be part of the new[http://www.w3.org/TR/xquery-1130/#id-try-catch XQuery 3.0 Recommendationtry/catch].construct can be used to handle errors at runtime:
'''Example:'''