# Class: StandardSchemaV1Error

> 

Defined in: [packages/server/src/vendor/standard-schema-v1/error.ts:5](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/vendor/standard-schema-v1/error.ts#L5)

A schema error with useful information.

## Extends

- `Error`

## Constructors

### new StandardSchemaV1Error()

> **new StandardSchemaV1Error**(`issues`): [`StandardSchemaV1Error`](https://trpc.io/docs/typedoc/server/index/classes/StandardSchemaV1Error.md)

Defined in: [packages/server/src/vendor/standard-schema-v1/error.ts:14](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/vendor/standard-schema-v1/error.ts#L14)

Creates a schema error with useful information.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `issues` | readonly `Issue`[] | The schema issues. |

#### Returns

[`StandardSchemaV1Error`](https://trpc.io/docs/typedoc/server/index/classes/StandardSchemaV1Error.md)

#### Overrides

`Error.constructor`

## Properties

### issues

> `readonly` **issues**: readonly `Issue`[]

Defined in: [packages/server/src/vendor/standard-schema-v1/error.ts:7](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/vendor/standard-schema-v1/error.ts#L7)

The schema issues.
