Exception: StandardSingpass::Myinfo::ApiError

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

Overview

Raised for a Myinfo token- or userinfo-endpoint response we can't use, and for transport failures reaching those endpoints at all. status and transport? come from Error.

502 specifically is Singpass's documented signal that a Myinfo upstream (CPF Board, IRAS, MOM, …) is down, including during their published maintenance windows: https://docs.developer.singpass.gov.sg/docs/products/singpass-myinfo/scheduled-downtimes

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