Skip to content

farrcraft/notekeeper-electron-backend

Repository files navigation

RPC Error Handling

  • Never return an error type in a RPC handler
  • If a RPC handler can return an error state, include the correct status response in the return payload
  • Use the standard codes.Error* and codes.Status* constants
  • Any time a new error is created (errors.New(...)), it should be logged immediately before it gets returned to the caller

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages