---
displayed_sidebar: homepage
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# PostgresError

## Enumeration Members

### DUPLICATE\_ERROR

 **DUPLICATE\_ERROR** = `"23505"`

___

### FOREIGN\_KEY\_ERROR

 **FOREIGN\_KEY\_ERROR** = `"23503"`

___

### NULL\_VIOLATION

 **NULL\_VIOLATION** = `"23502"`

___

### SERIALIZATION\_FAILURE

 **SERIALIZATION\_FAILURE** = `"40001"`
