This repository has been archived on 2021-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
|
# frozen_string_literal: true
|
|
|
|
class ErrorsController < ApplicationController
|
|
def not_found
|
|
render status: 404
|
|
end
|
|
|
|
def unprocessable
|
|
render status: 422
|
|
end
|
|
|
|
def internal_error
|
|
render status: 500
|
|
end
|
|
end
|