Creates a failure result from gatewayName with a message and optional underlying cause.
gatewayName
message
cause
const PaymentFailure(super.gatewayName, this.message, {this.cause});