Class: DTK::Client::Response::Error

Inherits:
DTK::Client::Response show all
Includes:
Common::Response::ErrorMixin
Defined in:
lib/domain/response.rb

Direct Known Subclasses

Internal, Usage

Defined Under Namespace

Classes: Internal, Usage

Instance Attribute Summary

Attributes inherited from DTK::Client::Response

#print_error_table, #render_view, #skip_render

Instance Method Summary collapse

Methods inherited from DTK::Client::Response

#array_to_string, #clone_me, #get_custom_labels, #get_label_for_column_name, handle_error_in_wrapper, #override_command_class, #render_arg_list!, #render_custom_info, #render_data, #render_table, #render_workspace_node_info, #response_datatype, #set_datatype, #symbol_to_data_type_upcase, wrap_helper_actions

Methods included from ErrorHandlerMixin

#error_info?

Constructor Details

#initialize(hash = {}) ⇒ Error

Returns a new instance of Error.



261
262
263
# File 'lib/domain/response.rb', line 261

def initialize(hash={})
  super(nil,{"errors" => [hash]})
end