qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [1/2] qpid-proton git commit: PROTON-1308: Go: fix typos in some AMQP condition names
Date Wed, 28 Sep 2016 20:41:40 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 2c438a855 -> ce80f9d72


PROTON-1308: Go: fix typos in some AMQP condition names


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e7b70d80
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e7b70d80
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/e7b70d80

Branch: refs/heads/master
Commit: e7b70d8048098190827e12b3415c51d766ee4448
Parents: 2c438a8
Author: Alan Conway <aconway@redhat.com>
Authored: Wed Sep 28 11:56:14 2016 -0400
Committer: Alan Conway <aconway@redhat.com>
Committed: Wed Sep 28 16:38:51 2016 -0400

----------------------------------------------------------------------
 .../go/src/qpid.apache.org/amqp/error.go        | 28 ++++++++++----------
 1 file changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e7b70d80/proton-c/bindings/go/src/qpid.apache.org/amqp/error.go
----------------------------------------------------------------------
diff --git a/proton-c/bindings/go/src/qpid.apache.org/amqp/error.go b/proton-c/bindings/go/src/qpid.apache.org/amqp/error.go
index 349fc41..3a178b2 100644
--- a/proton-c/bindings/go/src/qpid.apache.org/amqp/error.go
+++ b/proton-c/bindings/go/src/qpid.apache.org/amqp/error.go
@@ -30,7 +30,7 @@ import (
 // Error is an AMQP error condition. It has a name and a description.
 // It implements the Go error interface so can be returned as an error value.
 //
-// You can pass amqp.Error to methods that pass an error to a remote endpoint,
+// You can pass amqp.Error to methods that send an error to a remote endpoint,
 // this gives you full control over what the remote endpoint will see.
 //
 // You can also pass any Go error to such functions, the remote peer
@@ -53,19 +53,19 @@ func MakeError(err error) Error {
 }
 
 var (
-	InternalError      = "amqp:internal-error"
-	NotFound           = "amqp:not-found"
-	UnauthorizedAccess = "amqp:unauthorized-access"
-	DecodeError        = "amqp:decode-error"
-	ResourceLimit      = "amqp:resource-limit"
-	NotAllowed         = "amqp:not-allowed"
-	InvalidField       = "amqp:invalid-field"
-	NotImplemented     = "amqp:not-implemented"
-	ResourceLocked     = "amqp:resource-locked"
-	PreerrorFailed     = "amqp:preerror-failed"
-	ResourceDeleted    = "amqp:resource-deleted"
-	IllegalState       = "amqp:illegal-state"
-	FrameSizeTooSmall  = "amqp:frame-size-too-small"
+	InternalError         = "amqp:internal-error"
+	NotFound              = "amqp:not-found"
+	UnauthorizedAccess    = "amqp:unauthorized-access"
+	DecodeError           = "amqp:decode-error"
+	ResourceLimitExceeded = "amqp:resource-limit-exceeded"
+	NotAllowed            = "amqp:not-allowed"
+	InvalidField          = "amqp:invalid-field"
+	NotImplemented        = "amqp:not-implemented"
+	ResourceLocked        = "amqp:resource-locked"
+	PreconditionFailed    = "amqp:precondition-failed"
+	ResourceDeleted       = "amqp:resource-deleted"
+	IllegalState          = "amqp:illegal-state"
+	FrameSizeTooSmall     = "amqp:frame-size-too-small"
 )
 
 type PnErrorCode int


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message