micro-server icon indicating copy to clipboard operation
micro-server copied to clipboard

Define useful toString() on FormattedErrorCode

Open tonyfinn opened this issue 6 years ago • 0 comments

ErrorCode.format() produces a FormattedErrorCode object which is not printable, where users would expect it to be. To print it, they need to do a ErrorCode.format(...).getCode().toString() which is counter-intuitive.

tonyfinn avatar Aug 08 '17 14:08 tonyfinn