class SAPNW::RFC::ServerException

Public Class Methods

new(error=nil) click to toggle source
# File lib/sapnwrfc/server.rb, line 49
def initialize(error=nil)
        unless error.class == Hash
                error = {'code' => 3, 'key' => 'RUNTIME', 'message' => error.to_s}
              end
        @error = error
      end