server/pkg/util/logical_error.go

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
package util

import (
    "fmt"
)

type LogicalError error

func NewLogicalError(format string, a ...interface{}) LogicalError {
    return LogicalError(fmt.Errorf(format, a...))
}