On 05/02/2012 12:11 PM, MORITA Kazutaka wrote: > I think it's better to call panic() and print the error reason here. Why we need this extra guard? it is not a general API, but just a internal API, we should trust callers and push responsibility to the caller too. Thanks, Yuan |