codes function
The codes of reported errors, the cause first.
import { codes } from '@dioramajs/effects/testing'function codes(errors: readonly ErrorReport[]): string[]Parameters
| Name | Type | Description |
|---|---|---|
errors | readonly ErrorReport[] |
Defined in packages/effects/src/testing/gpu.ts.