@jamashita/anden-error
Advanced tools
Comparing version 2.13.0 to 2.14.0
@@ -1,3 +0,3 @@ | ||
export declare abstract class RuntimeError extends Error { | ||
protected constructor(message: string, cause?: Error); | ||
export declare class RuntimeError extends Error { | ||
constructor(message: string, cause?: Error); | ||
private stackErrors; | ||
@@ -4,0 +4,0 @@ toString(): string; |
@@ -1,3 +0,3 @@ | ||
export declare abstract class RuntimeError extends Error { | ||
protected constructor(message: string, cause?: Error); | ||
export declare class RuntimeError extends Error { | ||
constructor(message: string, cause?: Error); | ||
private stackErrors; | ||
@@ -4,0 +4,0 @@ toString(): string; |
{ | ||
"name": "@jamashita/anden-error", | ||
"version": "2.13.0", | ||
"version": "2.14.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -5,4 +5,4 @@ import { Ambiguous, Kind } from '@jamashita/anden-type'; | ||
export abstract class RuntimeError extends Error { | ||
protected constructor(message: string, cause?: Error) { | ||
export class RuntimeError extends Error { | ||
public constructor(message: string, cause?: Error) { | ||
if (Kind.isUndefined(cause)) { | ||
@@ -9,0 +9,0 @@ super(message); |
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
71568