Safe, whitelist-based casting of values to atoms.
Exception raised by SafeAtom.cast!/2.
SafeAtom.cast!/2