// ets_tracing: off
import { Tagged } from "@effect-ts/core/Case";
import * as NA from "@effect-ts/core/Collections/Immutable/NonEmptyArray";
import * as E from "@effect-ts/core/Either";
/**
 * An error that occurred during the execution of the Figlet sublibrary.
 */

export class FigletError extends Tagged("FigletError") {}
/**
 * An error that can occur when loading a file.
 */

export class FigletLoadingError extends Tagged("FigletLoadingError") {}
/**
 * An error that can occur when interpreting a Figlet file.
 */

export class FigletFileError extends Tagged("FigletFileError") {}
/**
 * An error that can occur when interpreting a FigHeader.
 */

export class FigHeaderError extends Tagged("FigHeaderError") {}
/**
 * An error that can occur when interpreting a FigCharacter.
 */

export class FigCharacterError extends Tagged("FigCharacterError") {}
/**
 * An error that can occur when interpreting a FigFontError.
 */

export class FigFontError extends Tagged("FigFontError") {} // -----------------------------------------------------------------------------
// Instances
// -----------------------------------------------------------------------------

export const Applicative = /*#__PURE__*/E.getValidationApplicative( /*#__PURE__*/NA.getAssociative());
//# sourceMappingURL=index.mjs.map