Class BankIdApiErrorException

All Implemented Interfaces:
Serializable

public final class BankIdApiErrorException extends BankIdException
BankIdApiErrorException is a subclass of BankIdException that represents an error encountered from the BankId API. It contains the error response from the API.
See Also:
  • Method Details

    • of

      public static BankIdApiErrorException of(ErrorResponse response)
    • getResponse

      public ErrorResponse getResponse()
      Retrieves the error response associated with the BankIdApiErrorException.
      Returns:
      The error response associated with this exception.