需要 PouchDB 错误列表
Need PouchDB errors list
我需要 pouchdb 的错误列表,例如:
[
{ status: 409,
name: 'conflict',
message: 'Document update conflict',
error: true
}
]
PouchDB 正在使用 HTTP and Rest,因此这些错误代码实际上是 HTTP 状态代码。
您应该能够在 Wikipedia or the W3C docs 上找到 HTTP 状态代码列表,包括客户端错误(以 4xx 开头)和服务器错误(以 5xx 开头)。
我需要 pouchdb 的错误列表,例如:
[
{ status: 409,
name: 'conflict',
message: 'Document update conflict',
error: true
}
]
PouchDB 正在使用 HTTP and Rest,因此这些错误代码实际上是 HTTP 状态代码。
您应该能够在 Wikipedia or the W3C docs 上找到 HTTP 状态代码列表,包括客户端错误(以 4xx 开头)和服务器错误(以 5xx 开头)。