### Saxon.Api

- BinaryResource
- CatalogCollection
- DirectoryCollection
- DocumentBuilder
- DomDestination
- DynamicContext
- DynamicError
- EmptyEnumerator<T>
- ErrorReporter
- ErrorReporterToStaticError
- ErrorReporterWrapper
- ExtensionFunction
- ExtensionFunctionCall
- ExtensionFunctionDefinition
- Feature<T>
- FeatureKeys
- HostLanguage
- ICollectionFinder
- IErrorReporter
- IInvalidityHandler
- IMessageListener
- IMessageListener2
- InvalidityHandlerWrapper
- IPredicate<in XdmItem>
- IQueryResolver
- IResource
- IResourceCollection
- IResourceFactory
- IResultDocumentHandler
- IXmlLocation
- JarCollection
- NamespaceConstant
- NullDestination
- Predicate<T>
- Predicates
- Processor
- QName
- RawDestination
- RecoveryPolicy
- Resource
- ResourceCollection
- SchemaManager
- SchemaResolver
- SchemaValidationMode
- SchemaValidator
- Serializer
- StandardCollectionFinder
- StandardLogger
- StaticContext
- StaticError
- Step<TInput, TResult>
- Steps
- TextWriterDestination
- TreeModel
- URIQueryParameters
- ValidationFailure
- WhitespacePolicy
- XdmAnyArrayType
- XdmAnyFunctionType
- XdmAnyItemType
- XdmAnyMapType
- XdmAnyNodeType
- XdmArray
- XdmAtomicType
- XdmAtomicValue
- XdmAxis
- XdmDestination
  - - TreeProtector
- XdmEmptySequence
- XdmExternalObjectValue
- XdmFunctionItem
- XdmItem
- XdmItemType
- XdmMap
- XdmNode
- XdmNodeKind
- XdmSequenceType
- XdmValue
- XmlDestination
- XmlProcessingError
- XmlResource
- XPathCompiler
- XPathExecutable
- XPathSelector
- XQueryCompiler
- XQueryEvaluator
- XQueryExecutable
- Xslt30Transformer
- XsltCompiler
- XsltExecutable
  - - ParameterDetails
- XsltPackage
- XsltTransformer

### Saxon.Api

# Class ErrorReporterToStaticError

public class ErrorReporterToStaticError
extends net.sf.saxon.lib.ErrorReporter

`ErrorReporter` for gathering errors as `XmlProcessorError` to then convert them to a list of `StaticError`s.

### Constructor Summary
ErrorReporterToStaticError (IList<StaticError> errorList) Initializes a new instance of the ErrorReporter class.

### Property Summary
IList<StaticError> | ErrorList Get property on the wrapped error list.

### Method Summary
void | report(net.sf.saxon.s9api.XmlProcessingError xpe) This method is called internally in Saxon to report an error by adding it to the error list.

## Constructor Detail

### ErrorReporterToStaticError

public ErrorReporterToStaticError(IList<StaticError> errorList)

Initializes a new instance of the ErrorReporter class.

Parameters:

`errorList` - Error list.

## Property Detail

### ErrorList

public IList<StaticError> ErrorList {get; }

Get property on the wrapped error list.

## Method Detail

### report

public void report(net.sf.saxon.s9api.XmlProcessingError xpe)

This method is called internally in Saxon to report an error by adding it to the error list.

Parameters:

`xpe` - details of the error to be reported