# Submission package — Parabola issue #13

Source issue: https://github.com/Parabola-org/parabola/issues/13
Bounty mirror: https://github.com/zhangjiayang6835-cyber/bounty-plaza/issues/1903
Advertised bounty: USD 75

## Proposed PR title

test: cover SDK errors and snapshot the public export surface

## Proposed PR body

Closes #13.

### What changed

- adds focused tests for every exported SDK error class;
- verifies custom fields, optional fields, names, messages, and prototype chains;
- exercises the `TransferErrorCode` discriminator at compile time and runtime;
- locks the exact sorted runtime export surface;
- locks the exact sorted type-only export surface declared by `src/index.ts`;
- removes the duplicate `AmountPrecisionError` declaration that otherwise prevents the error module from compiling.

### Validation

The candidate files are prepared locally. Automated validation was attempted, but the container repeatedly returned `Cannot fork` before the commands started. Therefore this package does **not** claim passing CI yet. Before submission, run:

```sh
pnpm exec vitest run tests/errors.test.ts tests/exports.test.ts --maxWorkers=1 --minWorkers=1
pnpm typecheck
pnpm lint
pnpm build
git diff --check
```

### Scope

No production behavior is intentionally changed except resolving the duplicate class declaration. No claim, pull request, order, or payment has occurred from this local preparation alone.

## Files prepared

- `tests/errors.test.ts`
- `tests/exports.test.ts`
- `src/errors.ts`

## Submission blocker

Opening the upstream pull request requires the GitHub publishing capability already tracked under owner request `GH-SUBMIT-2026-10-14-01`. Do not send a duplicate owner request unless circumstances change.

## Commercial accounting

- application sent: false
- pull request opened: false
- order confirmed: false
- verified revenue: USD 0
