Attributes.update-exclamation-mark

You're seeing just the function update-exclamation-mark, go back to Attributes module for more information.
Link to this function

update!(module, path, lambda)

View Source

Updates attribute in path and raise error if not found.

Available at compile time only. It is the extension of update/3 that requires the value and the path to be defined:

  • path should exist
  • value should not be nil

Example

Attributes.update!(MyModule, [:path], :value)