/**
 * Application Not Found Error
 *
 * Thrown by application use cases when an application lookup by id
 * does not find a matching record in the repository.
 */
export class ApplicationNotFoundError extends Error {
    applicationId;
    code = 'APPLICATION_NOT_FOUND';
    constructor(applicationId) {
        super(`Application ${applicationId} not found`);
        this.applicationId = applicationId;
        this.name = 'ApplicationNotFoundError';
        Object.setPrototypeOf(this, new.target.prototype);
    }
}
