@jamashita/anden-error
Advanced tools
Comparing version 2.9.0 to 2.10.0
@@ -0,4 +1,5 @@ | ||
import { Ambiguous } from '@jamashita/anden-type/src/index'; | ||
import { BaseError } from 'make-error-cause'; | ||
export declare abstract class RuntimeError extends BaseError { | ||
protected constructor(message: string, cause?: Error); | ||
protected constructor(message: string, cause?: Ambiguous<Error>); | ||
getStack(): string; | ||
@@ -5,0 +6,0 @@ toString(): string; |
@@ -0,5 +1,6 @@ | ||
import { Ambiguous } from '@jamashita/anden-type/src/index'; | ||
import { RuntimeError } from './RuntimeError'; | ||
export declare class UnimplementedError extends RuntimeError { | ||
constructor(message?: string, cause?: Error); | ||
constructor(message?: string, cause?: Ambiguous<Error>); | ||
} | ||
//# sourceMappingURL=UnimplementedError.d.ts.map |
@@ -0,4 +1,5 @@ | ||
import { Ambiguous } from '@jamashita/anden-type/src/index'; | ||
import { BaseError } from 'make-error-cause'; | ||
export declare abstract class RuntimeError extends BaseError { | ||
protected constructor(message: string, cause?: Error); | ||
protected constructor(message: string, cause?: Ambiguous<Error>); | ||
getStack(): string; | ||
@@ -5,0 +6,0 @@ toString(): string; |
@@ -0,5 +1,6 @@ | ||
import { Ambiguous } from '@jamashita/anden-type/src/index'; | ||
import { RuntimeError } from './RuntimeError'; | ||
export declare class UnimplementedError extends RuntimeError { | ||
constructor(message?: string, cause?: Error); | ||
constructor(message?: string, cause?: Ambiguous<Error>); | ||
} | ||
//# sourceMappingURL=UnimplementedError.d.ts.map |
{ | ||
"name": "@jamashita/anden-error", | ||
"version": "2.9.0", | ||
"version": "2.10.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -0,5 +1,6 @@ | ||
import { Ambiguous } from '@jamashita/anden-type/src/index'; | ||
import { BaseError, fullStack } from 'make-error-cause'; | ||
export abstract class RuntimeError extends BaseError { | ||
protected constructor(message: string, cause?: Error) { | ||
protected constructor(message: string, cause?: Ambiguous<Error>) { | ||
super(message, cause); | ||
@@ -6,0 +7,0 @@ } |
@@ -0,7 +1,8 @@ | ||
import { Ambiguous } from '@jamashita/anden-type/src/index'; | ||
import { RuntimeError } from './RuntimeError'; | ||
export class UnimplementedError extends RuntimeError { | ||
public constructor(message: string = 'UNIMPLEMENTED', cause?: Error) { | ||
public constructor(message: string = 'UNIMPLEMENTED', cause?: Ambiguous<Error>) { | ||
super(message, cause); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
64388
277