struct DppmRestApi::Actions::ErrorData

Included Modules

Defined in:

actions/errors/api_errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, message : String?, status_code : HTTP::Status? = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(error) #

[View source]

Instance Method Detail

def message : String? #

[View source]
def message=(message : String?) #

[View source]
def status_code : HTTP::Status? #

[View source]
def status_code=(status_code : HTTP::Status?) #

[View source]
def type : String #

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

[View source]