class Athena::NotFoundException

Overview

Raised when a an object could not be found in the Athena::Converters::Exists converter.

Defined in:

athena.cr

Instance Method Summary

Instance Method Detail

def to_json : String #

Returns a 404 not found JSON error.

{
  "code":    404,
  "message": "An item with the provided ID could not be found.",
}

[View source]