error: don't delay error message construction
commitdd7520f0646985b08024c73ba2285c31d7318755
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 20 Jul 2012 16:43:37 +0000 (20 13:43 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 13 Aug 2012 16:20:01 +0000 (13 13:20 -0300)
tree89618447aa2859da1b7e32c1b25d2dc323c5e36a
parent18da7c0f1f24cc00f7c2f80c27cb85e4b234e091
error: don't delay error message construction

Today, the error message is only constructed when it's used. This commit
changes that to construct the error message when the error object is
built (ie. when the error is reported).

This simplifies the Error object.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
error.c
qerror.c