We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related issue: pinojs/thread-stream#29
In short, the custom error PdfEngineError after sending back to the main thread will become Error and we lose all the custom fields.
PdfEngineError
Error
export class PdfEngineError extends Error { /** * Error code */ code?: number; /** * * @param message - error message * @param code - error code */ constructor(message: string, code?: number); }
As a workaround, I think I will put the code as part of the message.
code
The text was updated successfully, but these errors were encountered:
785511c
No branches or pull requests
Related issue: pinojs/thread-stream#29
In short, the custom error
PdfEngineError
after sending back to the main thread will becomeError
and we lose all the custom fields.As a workaround, I think I will put the
code
as part of the message.The text was updated successfully, but these errors were encountered: