Petrex.InvalidNetError exception (petrex v1.0.0)

Copy Markdown View Source

Raised when a function that requires a well-formed net receives one that fails Petrex.Net.validate/1. errors holds the validation errors.

Summary

Types

t()

@type t() :: %Petrex.InvalidNetError{
  __exception__: true,
  errors: [Petrex.Net.error()]
}