Skip to content

Conversation

johnstcn
Copy link
Member

This PR:

  • Rewrites some error messages to better integrate with the frontend (ttl_ms -> time until shutdown)
  • Makes codersdk.ValidationError implement the error interface
  • only return validations if the error was a validation error, return detail otherwise (e.g. database error)

@johnstcn johnstcn self-assigned this Jul 27, 2022
Copy link
Contributor

@presleyp presleyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@johnstcn johnstcn enabled auto-merge (squash) July 27, 2022 21:06
@johnstcn johnstcn requested a review from a team as a code owner July 27, 2022 21:11
Copy link
Contributor

@presleyp presleyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

frontend ✅

Copy link
Contributor

@AbhineetJain AbhineetJain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice!

@johnstcn johnstcn merged commit 27ea415 into main Jul 27, 2022
@johnstcn johnstcn deleted the cj/noissue/nuke-ttl-from-errors branch July 27, 2022 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants