Module ValidateArgs.Err

type expected =
| Eq(int)
| Gt(int)
;
let stringOfExpected: expected => string;
let intOfExpected: expected => int;
type argsCount = {
expected: expected,
actual: int,
};
type transform = {
actual: string,
info: option(string),
};
type t =
| ArgsCount(argsCount)
| Transform(transform)
;
let argsCount: expected:expected => actual:int => t;
let transform: actual:string => info:option(string) => t;