struct Pipe::CommandResult

Defined in:

pipe/commands/base_command.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.error(error : CommandError, value = "") : CommandResult #

[View source]
def self.new(type : ResponseType, value : String = "", error : CommandError = CommandError::None) #

[View source]
def self.ok : CommandResult #

[View source]
def self.query_error : CommandResult #

[View source]

Class Method Detail

def self.make_error_invalid_meta_key(meta_key : String, meta_value : String) #

[View source]
def self.make_error_invalid_meta_value(meta_key : String, meta_value : String) #

[View source]

Instance Method Detail

def error : Pipe::CommandError #

[View source]
def error=(error : Pipe::CommandError) #

[View source]
def type : Pipe::ResponseType #

[View source]
def type=(type : Pipe::ResponseType) #

[View source]
def value : String #

[View source]
def value=(value : String) #

[View source]