Skip to content

Commit a6ab864

Browse files
committed
gofmt common.go after adding comments
1 parent 7a3cdd2 commit a6ab864

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

common.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,33 @@ var (
77
CommonErrors = NewNamespace("common")
88

99
// IllegalArgument is a type for invalid argument error
10-
IllegalArgument = CommonErrors.NewType("illegal_argument")
10+
IllegalArgument = CommonErrors.NewType("illegal_argument")
1111
// IllegalState is a type for invalid state error
12-
IllegalState = CommonErrors.NewType("illegal_state")
12+
IllegalState = CommonErrors.NewType("illegal_state")
1313
// IllegalFormat is a type for invalid format error
14-
IllegalFormat = CommonErrors.NewType("illegal_format")
14+
IllegalFormat = CommonErrors.NewType("illegal_format")
1515
// InitializationFailed is a type for initialization error
1616
InitializationFailed = CommonErrors.NewType("initialization_failed")
1717
// DataUnavailable is a type for unavailable data error
18-
DataUnavailable = CommonErrors.NewType("data_unavailable")
18+
DataUnavailable = CommonErrors.NewType("data_unavailable")
1919
// UnsupportedOperation is a type for unsupported operation error
2020
UnsupportedOperation = CommonErrors.NewType("unsupported_operation")
2121
// RejectedOperation is a type for rejected operation error
22-
RejectedOperation = CommonErrors.NewType("rejected_operation")
22+
RejectedOperation = CommonErrors.NewType("rejected_operation")
2323
// Interrupted is a type for interruption error
24-
Interrupted = CommonErrors.NewType("interrupted")
24+
Interrupted = CommonErrors.NewType("interrupted")
2525
// AssertionFailed is a type for assertion error
26-
AssertionFailed = CommonErrors.NewType("assertion_failed")
26+
AssertionFailed = CommonErrors.NewType("assertion_failed")
2727
// InternalError is a type for internal error
28-
InternalError = CommonErrors.NewType("internal_error")
28+
InternalError = CommonErrors.NewType("internal_error")
2929
// ExternalError is a type for external error
30-
ExternalError = CommonErrors.NewType("external_error")
30+
ExternalError = CommonErrors.NewType("external_error")
3131
// ConcurrentUpdate is a type for concurrent update error
32-
ConcurrentUpdate = CommonErrors.NewType("concurrent_update")
32+
ConcurrentUpdate = CommonErrors.NewType("concurrent_update")
3333
// TimeoutElapsed is a type for timeout error
34-
TimeoutElapsed = CommonErrors.NewType("timeout", Timeout())
34+
TimeoutElapsed = CommonErrors.NewType("timeout", Timeout())
3535
// NotImplemented is an error type for lacking implementation
36-
NotImplemented = UnsupportedOperation.NewSubtype("not_implemented")
36+
NotImplemented = UnsupportedOperation.NewSubtype("not_implemented")
3737
// UnsupportedVersion is a type for unsupported version error
38-
UnsupportedVersion = UnsupportedOperation.NewSubtype("version")
38+
UnsupportedVersion = UnsupportedOperation.NewSubtype("version")
3939
)

0 commit comments

Comments
 (0)