Custom error class representing an authentication failure reported by Fireguard.
The remote error's type, name, message and code are kept on the instance (so checks such as
error.type === ErrorType.InvalidApp keep working), and the raw payload is available as cause.
Custom error class representing an authentication failure reported by Fireguard.
The remote error's
type,name,messageandcodeare kept on the instance (so checks such aserror.type === ErrorType.InvalidAppkeep working), and the raw payload is available ascause.