`option_parser.error` would be the way to go here IMHO.