megaten
Version:
An unofficial collection of data from the Shin Megami Tensei and Persona games.
11 lines (10 loc) • 494 B
TypeScript
/** The type of structure that a MegatenError may throw from */
export type MegatenErrorType = 'Demon' | 'Persona' | 'Skill';
/** An exception thrown from the megaten package */
export declare class MegatenError extends Error {
/** The input that caused the exception */
structureName: string;
/** The type of structure where no structure matched the input */
structureType: MegatenErrorType;
constructor(structureName: string, structureType: MegatenErrorType);
}