UNPKG

decova-dotnet

Version:

This package provides fundumentals that a .net developer may miss while working with Typescript, whether they are missing functinalities or funcionalities provided in a non-elegant design in javascript. Bad naming, bad design of optional parameters, non-c

28 lines 1.29 kB
export declare class Exception extends Error { readonly message: string; readonly innerException: Exception | null; constructor(message: string, innerException?: Exception | null); static FromError(error: Error): Exception; logError(): void; } export declare class Exception_ArgumentInvalid extends Exception { readonly argumentName: string; readonly value: any; readonly description: string | null; constructor(argumentName: string, value: any, description?: string | null, innerException?: Exception | null); } export declare class Exception_InvalidOperation extends Exception { constructor(message: string, innerException?: Exception | null); } export declare class Exception_ArgumentNull extends Exception { constructor(message: string, innerException?: Exception | null); } export declare class Exception_UnintendedExecutionPath extends Exception { constructor(message: string, innerException?: Exception | null); } export declare class Exception_InvalidProgramState extends Exception { readonly description: string; readonly innerException: Exception | null; constructor(invalidVarName: string, description: string, innerException?: Exception | null); } //# sourceMappingURL=Exceptions.d.ts.map