struct DppmRestApi::Actions::ErrorResponse

Included Modules

Defined in:

actions/errors/api_errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(errors : Array(ErrorData)) #

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

[View source]

Instance Method Detail

def errors : Array(ErrorData) #

[View source]
def errors=(errors : Array(ErrorData)) #

[View source]
def log #

Log this response using the default Kemal logger.

TODO support custom formatting.


[View source]