class ErrorSerializer

Overview

This is the default error serializer generated by Lucky. Feel free to customize it in any way you like.

Defined in:

serializers/error_serializer.cr

Constructors

Instance Method Summary

Class methods inherited from class BaseSerializer

collection_key(key = "results") collection_key, for_collection(collection : Enumerable, *args, **named_args) for_collection

Constructor Detail

def self.new(message : String, details : String | Nil = nil, param : String | Nil = nil) #

[View source]

Instance Method Detail

def render #

[View source]