UNPKG

@iota-pico/core

Version:
16 lines (15 loc) 512 B
import { CoreError } from "./coreError"; /** * A platform implementation of an error. */ export declare class PlatformError extends CoreError { /** * Create an instance of PlatformError. * @param message The message for the error. * @param additional Additional details about the error. * @param innerError Add information from inner error if there was one. */ constructor(message: string, additional?: { [id: string]: any; }, innerError?: Error); }