diff options
Diffstat (limited to 'weed/s3api/s3err/s3api_errors.go')
| -rw-r--r-- | weed/s3api/s3err/s3api_errors.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/weed/s3api/s3err/s3api_errors.go b/weed/s3api/s3err/s3api_errors.go index f41c3620c..bcb0a26a8 100644 --- a/weed/s3api/s3err/s3api_errors.go +++ b/weed/s3api/s3err/s3api_errors.go @@ -112,6 +112,13 @@ const ( ErrNoSuchTagSet ) +// Error message constants for checksum validation +const ( + ErrMsgPayloadChecksumMismatch = "payload checksum does not match" + ErrMsgChunkSignatureMismatch = "chunk signature does not match" + ErrMsgChecksumAlgorithmMismatch = "checksum algorithm mismatch" +) + // error code to APIError structure, these fields carry respective // descriptions for all the error responses. var errorCodeResponse = map[ErrorCode]APIError{ |
