Use custom ArgumentError exception with metadata