Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix exception for secondary port

  • Loading branch information...
commit d493a28af53582df93f8fab47fb91969ec4dd15c 1 parent a00f0c7
@funny-falcon funny-falcon authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  lib/tarantool/exceptions.rb
  2. +1 −1  lib/tarantool/version.rb
View
2  lib/tarantool/exceptions.rb
@@ -26,6 +26,7 @@ class MemoryIssue < TryAgain; end
# general error return codes
class BadReturnCode < StatusCode; end
class NonMaster < BadReturnCode; end
+ class IsSecondaryPort < NonMaster; end
class IllegalParams < BadReturnCode; end
class UnsupportedCommand < BadReturnCode; end
class WrongField < BadReturnCode; end
@@ -43,6 +44,7 @@ class TupleDoesntExists < BadReturnCode; end
0x0701 => MemoryIssue,
0x0102 => NonMaster,
0x0202 => IllegalParams,
+ 0x0302 => IsSecondaryPort,
0x0a02 => UnsupportedCommand,
0x1e02 => WrongField,
0x1f02 => WrongNumber,
View
2  lib/tarantool/version.rb
@@ -1,4 +1,4 @@
module Tarantool
- VERSION = "0.4.3.2"
+ VERSION = "0.4.3.3"
RECORD_VERSION = "0.4.2"
end
Please sign in to comment.
Something went wrong with that request. Please try again.