%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/var/www/projetos/stb.ind.br/wp-content/themes/stb/node_modules/error/
Upload File :
Create Path :
Current File : //proc/self/root/var/www/projetos/stb.ind.br/wp-content/themes/stb/node_modules/error/docs.mli

type OptionError<T> := {
    option: T | null,
    message: String,
    type: "OptionError"
}

type TypedError<T> := {
    message: String,
    type: T
}

type ValidationError := {
    errors: Array<Error>,
    message: String,
    type: "ValidationError"
}

error/option := (String, T) => OptionError<T>

error/typed := (args: {
    message: String,
    type: String,
    name?: String
}) => (opts: Object) => TypedError<String>

error/validation := (Array<Error>) => ValidationError

Zerion Mini Shell 1.0