@cowwoc/requirements - v4.0.12
    Preparing search index...

    Interface ValidationFailure

    A failed validation.

    interface ValidationFailure {
        getError(): Error;
        getMessage(): string;
        getType(): string;
    }
    Index

    Methods

    • Returns the error corresponding to the validation failure.

      Returns Error

      the error corresponding to the validation failure

    • Returns the message corresponding to the validation failure.

      Returns string

      the message corresponding to the validation failure

    • Returns the type of error that is associated with this failure.

      Returns string

      the type of error that is associated with this failure