Attributes.get-exclamation-mark
You're seeing just the function
get-exclamation-mark
, go back to Attributes module for more information.
Gets attribute in path and raises if not found.
It is the extension of get/2
that requires the value and the path to be defined:
- path should exist
- value should not be
nil
Example
Attributes.get!(MyModule, [:path])