Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fmt.Error() #24954

Closed
hgdsraj opened this issue Apr 19, 2018 · 1 comment
Closed

Add fmt.Error() #24954

hgdsraj opened this issue Apr 19, 2018 · 1 comment

Comments

@hgdsraj
Copy link

hgdsraj commented Apr 19, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.10

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

Amd X86-64 -> Darwin

What did you do?

No error, just fmt.Error would be useful

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

What did you expect to see?

An fmt.Error

What did you see instead?

no fmt.Error

@ianlancetaylor
Copy link
Contributor

Use errors.New.

@golang golang locked and limited conversation to collaborators Apr 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants