---
title: "error-strings"
description: "Use lower-case unpunctuated error messages."
image: "https://strider.gempir.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://strider.gempir.com/llms.txt
> Use this file to discover all available pages before exploring further.

# error-strings

<!-- Code generated by docs/scripts/generate-check-docs.go; DO NOT EDIT. -->

**Default severity:** `warning`

Use lower-case unpunctuated error messages.

## Bad

```go
errors.New("Connection refused.")
```

## Good

```go
errors.New("connection refused")
```

Source: https://strider.gempir.com/lints/error-strings/index.mdx
