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