Backend/internal/application/errors/read_file_error.go
2025-09-25 09:01:00 +04:00

15 lines
231 B
Go

package errors
type ReadFileError struct {
msg string
}
func NewReadFileError(msg string) *ReadFileError {
return &ReadFileError{
msg: msg,
}
}
func (e *ReadFileError) Error() string {
return "Read file error: " + e.msg
}