Vastlint.ValidationError exception (Vastlint v0.4.13)

Copy Markdown View Source

Raised by Vastlint.validate!/1 when the NIF call itself fails.

This is NOT raised for invalid VAST tags - a tag with validation errors still returns a Vastlint.Result with valid: false. This exception indicates a system-level failure (NIF not loaded, empty input, etc.).

Summary

Types

t()

@type t() :: %Vastlint.ValidationError{__exception__: true, message: binary()}