View Source Bond.PostconditionError exception (Bond v0.14.0)

Exception raised when a function postcondition fails.

Summary

Types

t()

The Bond.PostconditionError exception type.

Types

@type t() :: %Bond.PostconditionError{
  __exception__: true,
  binding: keyword(),
  expression: Bond.assertion_expression(),
  file: Path.t(),
  function: {String.t(), non_neg_integer()},
  label: Bond.assertion_label(),
  line: integer(),
  module: module()
}

The Bond.PostconditionError exception type.