# CaptureVisionError

The `CaptureVisionError` class represents an error object that contains error code and error string information. This class extends [`CoreError`](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/core-error.md) and provides specific error handling for capture vision router operations.

## Definition

*Package:* com.dynamsoft.cvr

```java
public class CaptureVisionError extends CoreError
```

## Inheritance

`CaptureVisionError` -> [`CoreError`](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/core-error.md)

## Inherited Members

Since `CaptureVisionError` extends [`CoreError`](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/core-error.md), it inherits all the properties and methods from the parent class, including:

- `getErrorCode()` - Returns the error code.
- `getErrorString()` - Returns the error string.

