UNPKG

textmode.js

Version:

Apply real-time ASCII conversion to any HTML canvas.

14 lines (13 loc) 448 B
export declare class TextmodeError extends Error { readonly originalError?: Error; readonly context?: any; constructor(message: string, originalError?: Error, context?: any); /** * Create a formatted error message that includes context */ static createFormattedMessage(message: string, context?: any): string; /** * Format values for better display in error messages */ private static formatValue; }