export class ChainUnsupportedError extends Error { constructor ( message , ... params ) { super ( ... params ) ; this . name = 'ChainUnsupportedError' ; this . message = message ; } } export class ChainUnknownError extends Error { constructor ( message , ... params ) { super ( ... params ) ; this . name = 'ChainUnknownError' ; this . message = message ; } } export class ConnectorUnsupportedError extends Error { constructor ( connectorId , ... params ) { super ( ... params ) ; this . name = 'ConnectorUnsupportedError' ; this . message = `Unsupported connector: ${ connectorId }.` ; } } export class ConnectionRejectedError extends Error { constructor ( ... params ) { super ( ... params ) ; this . name = 'ConnectionRejectedError' ; this . message = `The activation has been rejected by the provider.` ; } } export class ConnectorConfigError extends Error { constructor ( ... params ) { super ( ... params ) ; this . name = 'ConnectorConfigError' ; } }