Help for common errors
Reported by bahuvrihi | July 14th, 2009 @ 08:31 PM
At the topmost level of run, common errors need to be caught and help given to clarify what exactly is going on.
Validation Errors
Example:
# Example::task
class Example < Tap::Task
config :a, 1, &c.integer
end
% rap example --a blue
expected [Integer] but was: String
This cannot be caught easily elsewhere. It's not a config parser issue, it happens afterwards during task initialization. You want to be able to see the full backtrace on debug. As a result, the best place to catch/override is right at the top.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A framework for making configurable, file-based tasks and workflows.