Module Run.AutorunResult

The result of an autorun

type ok('a) =
| Run('a)

The arguments are valid and the command can be executed

| Handled

The arguments are valid and the action has already been handled

;
type err =
| ConfigError

There was a configuration error, this can be validated before distribution of the application

| UserError

The user has provided some invalid input

| UnknownError

It's unclear if the error is a developer or user mistake

;
type t('a) = Stdlib.result(ok('a), err);