mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
`BuildError` response from `wsbuilder` does not support rich errors from validation. Changed this to use the `Validations` block of codersdk responses to return all errors for invalid parameters.
5 lines
201 B
Go
5 lines
201 B
Go
// Package httperror handles formatting and writing some sentinel errors returned
|
|
// within coder to the API.
|
|
// This package exists outside httpapi to avoid some cyclic dependencies
|
|
package httperror
|