Exception: StandardSingpass::Myinfo::Security::DecryptionError

Inherits:
Error
  • Object
show all
Defined in:
lib/standard_singpass/myinfo/security.rb

Overview

Both inherit the gem's base Error so they carry status and transport?. That matters for ValidationError in particular: fetching the JWKS is a network call to a Singpass host, so "the JWKS endpoint is down" and "this signature is genuinely bad" both surface here and must stay distinguishable — the first is an outage, the second is a key/cert problem. FailureClassifier reads those attributes; without them a JWKS-host outage would be reported as our own bug.

Instance Attribute Summary

Attributes inherited from Error

#status

Method Summary

Methods inherited from Error

#initialize, #transport?

Constructor Details

This class inherits a constructor from StandardSingpass::Myinfo::Error