mirror of
https://github.com/smogon/sprites.git
synced 2026-08-25 03:07:29 -05:00
Move BuildError to errors.ts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
3
tools/build/errors.ts
Normal file
3
tools/build/errors.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
// User-facing build failure: printed without a stack trace.
|
||||
export class BuildError extends Error {}
|
||||
@@ -1,7 +1,8 @@
|
||||
|
||||
import type {RuleDecl} from './api.ts';
|
||||
import {BuildError} from './errors.ts';
|
||||
|
||||
export class BuildError extends Error {}
|
||||
export {BuildError};
|
||||
|
||||
export interface GraphResult {
|
||||
order : RuleDecl[]; // topological, stable w.r.t. declaration order
|
||||
|
||||
Reference in New Issue
Block a user