Skip to content
/ go-fck Public

Package fck implements tools to create and manipulate errors.

License

Notifications You must be signed in to change notification settings

reiver/go-fck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-fck

Package fck implements tools to create and manipulate errors.

Documention

Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-fck

GoDoc

Creating Errors

There are two ways to create errors —

With fck.Error:

	const err error = fck.Error("internal-error")

And with fck.Errorf:

	var err error = fck.Errorf("bad value for id %q", id)

One thing to notice is that fck.Error errors can be a Go const.

About

Package fck implements tools to create and manipulate errors.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages