Implement a custom PgpError type to enhance encryption errors tracking