Class: Passport::Thrift::ProfileException

Inherits:
Thrift::Exception
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/remote_passport_types.rb

Constant Summary collapse

ERRORCODE =
1
FIELDS =
{
  ERRORCODE => {:type => ::Thrift::Types::STRING, :name => 'errorCode', :optional => true}
}

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ ProfileException

Returns a new instance of ProfileException.



545
546
547
548
# File 'lib/remote_passport_types.rb', line 545

def initialize(message=nil)
  super()
  self.errorCode = message
end

Instance Method Details

#messageObject



550
# File 'lib/remote_passport_types.rb', line 550

def message; errorCode end

#struct_fieldsObject



558
# File 'lib/remote_passport_types.rb', line 558

def struct_fields; FIELDS; end

#validateObject



560
561
# File 'lib/remote_passport_types.rb', line 560

def validate
end