XPathErrorCode constructor

const XPathErrorCode(
  1. String name, [
  2. String message = 'Unidentified error',
  3. String namespaceUri = standardNamespaceUri
])

Creates a new XPathErrorCode with the given name, message, and optional namespaceUri.

Implementation

const new(
  this.name, [
  this.message = 'Unidentified error',
  this.namespaceUri = standardNamespaceUri,
]);