<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Shoubhik,</p>
<p>are you worried about having the same format for error messages
or do you want to classify the errors into small set of different
ones?</p>
<p>/Thomas<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/10/2016 11:31 AM, Shoubhik Bose
wrote:<br>
</div>
<blockquote
cite="mid:CANSWON=UZOA0m48jFrvUcJ+8JPJaRuj6DGiuUf9+G_agQJEOig@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi folks,<br>
</div>
<br>
I was wondering if we could agree on having error messages
printed *only* by calling the custom defined error types in
models/errors.go like NotFoundError(..) ,
BadParameterError(..)<br>
<br>
</div>
That way we could use the error output accurately with log
analysis tools, or even better come up with error codes in
future ( like Oracle has ORA-XXX )<br>
<br>
</div>
/Shoubhik<br>
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
almighty-public mailing list
<a class="moz-txt-link-abbreviated" href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/almighty-public">https://www.redhat.com/mailman/listinfo/almighty-public</a>
</pre>
</blockquote>
<br>
</body>
</html>