# ErrorInfoProperty

An error that occurred during resource creation.

- Source: Generated code
- Type last changed: v2.174.0 · 4 Jan 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const errorInfoProperty: pcs.CfnQueue.ErrorInfoProperty = {
  code: 'code',
  message: 'message',
};
```

## Properties

- `code`: string — The short-form error code.

- `message`: string — The detailed error information.
