abstract class PlaceOS::Core::Api::Application

Direct Known Subclasses

Defined in:

api/application.cr

Constant Summary

Log = ::PlaceOS::Core::Log.for("controller")
PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json"]

Instance Method Summary

Instance Method Detail

def bad_media_type(error) : ContentError #

covers no acceptable response format and not an acceptable post format


[View source]
def common_error(error) : CommonError #

handler for common errors


[View source]
def invalid_param(error) : ParameterError #

handles paramater missing or a bad paramater value / format


[View source]
def request_id : String #

[View source]