time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

messages.d.ts (2608B)


      1 import { DistError } from "../dist/DistError.js";
      2 import { OperationError } from "../operationError.js";
      3 import { VDomain, Value } from "../value/index.js";
      4 export declare abstract class ErrorMessage extends Error {
      5     abstract toString(): string;
      6 }
      7 export declare class REArityError extends ErrorMessage {
      8     fn: string | undefined;
      9     arity: number;
     10     usedArity: number;
     11     constructor(fn: string | undefined, arity: number, usedArity: number);
     12     toString(): string;
     13 }
     14 export declare class REArrayIndexNotFound extends ErrorMessage {
     15     msg: string;
     16     index: number;
     17     constructor(msg: string, index: number);
     18     toString(): string;
     19 }
     20 export declare class REDistributionError extends ErrorMessage {
     21     err: DistError;
     22     constructor(err: DistError);
     23     toString(): string;
     24 }
     25 export declare class REExpectedType extends ErrorMessage {
     26     typeName: string;
     27     valueString: string;
     28     constructor(typeName: string, valueString: string);
     29     toString(): string;
     30 }
     31 export declare class RENotAFunction extends ErrorMessage {
     32     value: string;
     33     constructor(value: string);
     34     toString(): string;
     35 }
     36 export declare class REOperationError extends ErrorMessage {
     37     err: OperationError;
     38     constructor(err: OperationError);
     39     toString(): string;
     40 }
     41 export declare class REDictPropertyNotFound extends ErrorMessage {
     42     msg: string;
     43     index: string;
     44     constructor(msg: string, index: string);
     45     toString(): string;
     46 }
     47 export declare class RESymbolNotFound extends ErrorMessage {
     48     symbolName: string;
     49     constructor(symbolName: string);
     50     toString(): string;
     51 }
     52 export declare class RESyntaxError extends ErrorMessage {
     53     desc: string;
     54     constructor(desc: string);
     55     toString(): string;
     56 }
     57 export declare class RETodo extends ErrorMessage {
     58     msg: string;
     59     constructor(msg: string);
     60     toString(): string;
     61 }
     62 export declare class REDomainError extends ErrorMessage {
     63     value: Value;
     64     domain: VDomain;
     65     constructor(value: Value, domain: VDomain);
     66     toString(): string;
     67 }
     68 export declare class REJavaScriptExn extends ErrorMessage {
     69     msg: string;
     70     name: string;
     71     constructor(msg: string, name: string);
     72     toString(): string;
     73 }
     74 export declare class REArgumentError extends ErrorMessage {
     75     msg: string;
     76     constructor(msg: string);
     77     toString(): string;
     78 }
     79 export declare class REOther extends ErrorMessage {
     80     msg: string;
     81     constructor(msg: string);
     82     toString(): string;
     83 }
     84 export declare class REAmbiguous extends ErrorMessage {
     85     msg: string;
     86     constructor(msg: string);
     87     toString(): string;
     88 }
     89 //# sourceMappingURL=messages.d.ts.map