Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Help for common errors

#213

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.

Reported by bahuvrihi · July 14th, 2009 @ 08:31 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

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.