Skip to content

Commit 27e6eac

Browse files
committed
Unify error names
1 parent b4665b2 commit 27e6eac

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

crud/borders.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ local schema = require('crud.common.schema')
99
local has_keydef, Keydef = pcall(require, 'crud.compare.keydef')
1010
local select_comparators = require('crud.compare.comparators')
1111

12-
local BorderError = errors.new_class('Border', {capture_stack = false})
12+
local BorderError = errors.new_class('BorderError', {capture_stack = false})
1313

1414
local borders = {}
1515

crud/common/call.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local dev_checks = require('crud.common.dev_checks')
55
local utils = require('crud.common.utils')
66
local fiber_clock = require('fiber').clock
77

8-
local CallError = errors.new_class('Call')
8+
local CallError = errors.new_class('CallError')
99
local NotInitializedError = errors.new_class('NotInitialized')
1010

1111
local call = {}

crud/delete.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local sharding = require('crud.common.sharding')
88
local dev_checks = require('crud.common.dev_checks')
99
local schema = require('crud.common.schema')
1010

11-
local DeleteError = errors.new_class('Delete', {capture_stack = false})
11+
local DeleteError = errors.new_class('DeleteError', {capture_stack = false})
1212

1313
local delete = {}
1414

crud/get.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local sharding = require('crud.common.sharding')
88
local dev_checks = require('crud.common.dev_checks')
99
local schema = require('crud.common.schema')
1010

11-
local GetError = errors.new_class('Get', {capture_stack = false})
11+
local GetError = errors.new_class('GetError', {capture_stack = false})
1212

1313
local get = {}
1414

crud/insert.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local sharding = require('crud.common.sharding')
88
local dev_checks = require('crud.common.dev_checks')
99
local schema = require('crud.common.schema')
1010

11-
local InsertError = errors.new_class('Insert', {capture_stack = false})
11+
local InsertError = errors.new_class('InsertError', {capture_stack = false})
1212

1313
local insert = {}
1414

crud/replace.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local sharding = require('crud.common.sharding')
88
local dev_checks = require('crud.common.dev_checks')
99
local schema = require('crud.common.schema')
1010

11-
local ReplaceError = errors.new_class('Replace', { capture_stack = false })
11+
local ReplaceError = errors.new_class('ReplaceError', { capture_stack = false })
1212

1313
local replace = {}
1414

crud/truncate.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local vshard = require('vshard')
55
local dev_checks = require('crud.common.dev_checks')
66
local call = require('crud.common.call')
77

8-
local TruncateError = errors.new_class('Truncate', {capture_stack = false})
8+
local TruncateError = errors.new_class('TruncateError', {capture_stack = false})
99

1010
local truncate = {}
1111

crud/update.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local sharding = require('crud.common.sharding')
88
local dev_checks = require('crud.common.dev_checks')
99
local schema = require('crud.common.schema')
1010

11-
local UpdateError = errors.new_class('Update', {capture_stack = false})
11+
local UpdateError = errors.new_class('UpdateError', {capture_stack = false})
1212

1313
local update = {}
1414

0 commit comments

Comments
 (0)