Repository navigation
Commit db9408f
committed
fix(protocol): add literal discriminator to ScheduleValidationError
httpapi-codegen requires every HttpApi error class to declare a literal
`name`/`_tag` field (see declaredErrorFields in packages/httpapi-codegen).
ScheduleValidationError was the one error class missing it, which fails
bun run check:generated with "Promise error must have a literal
discriminator: server.schedule.schedule.create". Matches the existing
ProjectCopyError pattern.
Closes #2451 parent 3ec2370 commit db9408f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments