logranger/error.go
Winni Neessen 8d75b19e27
Correct typo in error.go comments
The comments for the 'ErrCertConfigEmpty' variable in error.go contained a typo. This has been corrected to more accurately reflect the error that is returned when a TLS listener is configured without setting certificate or key paths.
2023-12-22 16:08:02 +01:00

11 lines
345 B
Go

// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
package logranger
import "errors"
// ErrCertConfigEmpty is returned if a TLS listener is configured but ot certificate
// or key paths are set
var ErrCertConfigEmpty = errors.New("certificate and key paths are required for listener type: TLS")