export class InvalidStatusTransitionError extends Error {
    errorCode = "InvalidStatusTransitionError";
    constructor(message = "InvalidStatusTransitionError") {
        super(message);
    }
}
export class NotOwnerError extends Error {
    errorCode = "NotOwnerError";
    constructor(message = "NotOwnerError") {
        super(message);
    }
}
export const errors = {
    Initialize: { InvalidStatusTransitionError, NotOwnerError },
    MarkChangesPushed: { InvalidStatusTransitionError },
    MarkDeploymentStarted: { InvalidStatusTransitionError },
    ReportDeploymentSucceeded: { InvalidStatusTransitionError },
    ReportDeploymentFailed: { InvalidStatusTransitionError },
    ApproveChanges: { InvalidStatusTransitionError, NotOwnerError },
    TerminateEnvironment: { NotOwnerError },
    MarkDestroyed: { InvalidStatusTransitionError, NotOwnerError },
    Archive: { InvalidStatusTransitionError, NotOwnerError },
    Unarchive: { InvalidStatusTransitionError, NotOwnerError },
};
