all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: diaper pattern lurking in ui.scm
Date: Sun, 31 May 2015 22:05:48 +0200	[thread overview]
Message-ID: <87h9qs342r.fsf@gnu.org> (raw)
In-Reply-To: <87a8wmt0s8.fsf@earlgrey.lan> (Christopher Allan Webber's message of "Sat, 30 May 2015 12:37:36 -0500")

Christopher Allan Webber <cwebber@dustycloud.org> skribis:

> I was working on a new package and found that I was very surprised that
> suddenly guix told me that "guix package" did not exist:
>
>   cwebber@earlgrey:~/devel/guix$ guix package --help
>   guix: package: command not found
>   Try `guix --help' for more information.
>
> Whaaaa?

Ouch.  :-)

[...]

> In other words, (error) considered harmful, use (throw 'specific-key)
> instead :)

Indeed.  I’ve modified (guix base32) to throw a custom error condition
instead, so now this case should be gracefully handled–potentially fewer
frustrated users!

Thanks for the report!

Ludo’.

      reply	other threads:[~2015-05-31 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-30 17:37 diaper pattern lurking in ui.scm Christopher Allan Webber
2015-05-31 20:05 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9qs342r.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=cwebber@dustycloud.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.