Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure UserError is raised with a reason value
This commit addresses the issue fixed in 416cf28; however that commit discarded the reason attached to the exception. This should be kept, since Train::UserError covers a lot of ground and the reason code can help clients differentiate cause without resorting to their own parsing of error string. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
- Loading branch information