diff --git a/packages/security/src/InvalidCredentialManager.ts b/packages/security/src/InvalidCredentialManager.ts index 8a48d6c30..caf65b457 100644 --- a/packages/security/src/InvalidCredentialManager.ts +++ b/packages/security/src/InvalidCredentialManager.ts @@ -16,6 +16,7 @@ import { BadCredentialManagerError } from "./errors/BadCredentialManagerError"; * **NOTE** THIS CLASS SHOULD NOT BE EXPORTED FOR PUBLIC CONSUMPTION. * * This class is the fallback class when a credential manager fails to initialize. + * All methods in this class must throw te error passed in by the constructor. */ export class InvalidCredentialManager extends AbstractCredentialManager { /** diff --git a/packages/security/src/errors/BadCredentialManagerError.ts b/packages/security/src/errors/BadCredentialManagerError.ts index 0ee55a200..4c20b10fe 100644 --- a/packages/security/src/errors/BadCredentialManagerError.ts +++ b/packages/security/src/errors/BadCredentialManagerError.ts @@ -13,7 +13,7 @@ import { ImperativeError } from "../../../error"; /** * This class represents the error thrown by methods of the {@link InvalidCredentialManager} - * when initialized in the {@link CredentialManagerFactory} + * when initialized by {@link CredentialManagerFactory.initialize} */ export class BadCredentialManagerError extends ImperativeError { /**