generated/stellar/error.rb in stellar-base-0.5.0 vs generated/stellar/error.rb in stellar-base-0.6.0
- old
+ new
@@ -5,16 +5,16 @@
# === xdr source ============================================================
#
# struct Error
# {
-# int code;
+# ErrorCode code;
# string msg<100>;
# };
#
# ===========================================================================
module Stellar
class Error < XDR::Struct
- attribute :code, XDR::Int
+ attribute :code, ErrorCode
attribute :msg, XDR::String[100]
end
end