Feature #8663

Officialy alias ArgumentError to ArgError

Added by Boris Stitnicky about 2 years ago. Updated almost 2 years ago.

Assignee:Yukihiro Matsumoto


When not using custom made exceptions, I find myself using TypeError, NameError and ArgumentError the most. ArgumentError is the longest and I would like to suggest to alias it officially as ArgError.


#1 Updated by Martin Dürst about 2 years ago

This just saves 5 characters, but creates confusion because now many people will start to wonder what the difference is between ArgumentError and ArgError, if any.

#2 Updated by Boris Stitnicky almost 2 years ago

Yes, but one of those characters is 'm'!

#3 Updated by Martin Dürst almost 2 years ago

  • Category set to Joke

boris_stitnicky (Boris Stitnicky) wrote:

Yes, but one of those characters is 'm'!

Anything in particular that's problematic about 'm'? I have tentatively classified that as a joke, but can switch it back if needed.

#4 Updated by Koichi Sasada almost 2 years ago

  • Assignee set to Yukihiro Matsumoto

Also available in: Atom PDF