Custom error class representing an error that occurs when an invalid provider name is provided. This error is thrown when an operation expects a valid provider name, but an invalid one is provided.
Creates a new instance of the InvalidProviderError class with a specific error message.
The invalid provider name that caused the error.
Optional
An optional machine-readable error code (e.g. a Firebase auth/* code).
auth/*
The error message.
The name of the error.
The type of the error.
Returns serialized error object.
The serialized error object.
Returns a string representation of the error message, prefixed with "[]".
A formatted error message.
Custom error class representing an error that occurs when an invalid provider name is provided. This error is thrown when an operation expects a valid provider name, but an invalid one is provided.