MCPcopy
hub / github.com/cyclops-ui/cyclops / Error

Struct Error

cyclops-ctrl/internal/models/dto/error.go:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package dto
2
3type Error struct {
4 Message string `json:"message"`
5 Description string `json:"description"`
6}
7
8func NewError(message, description string) Error {
9 return Error{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected