MCPcopy Index your code
hub / github.com/coder/coder / isChatStartWorkspaceManualUpdateRequiredError

Function isChatStartWorkspaceManualUpdateRequiredError

coderd/exp_chats.go:3992–3999  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

3990}
3991
3992func isChatStartWorkspaceManualUpdateRequiredError(err error) bool {
3993 var diagnosticErr *dynamicparameters.DiagnosticError
3994 if errors.As(err, &diagnosticErr) {
3995 return true
3996 }
3997
3998 return errors.Is(err, wsbuilder.ErrParameterValidation)
3999}
4000
4001func chatWorkspaceAuditStatus(err error) int {
4002 if responder, ok := httperror.IsResponder(err); ok {

Callers 1

chatStartWorkspaceMethod · 0.85

Calls 2

AsMethod · 0.80
IsMethod · 0.45

Tested by

no test coverage detected