Exception: YARD::Server::NotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/yard/server/adapter.rb

Overview

Raises an error if a resource is not found. This exception is caught by Commands::Base#call to immediately end a request and return a 404 response code. If a message is provided, the body is set to the exception message.

Since:

  • 0.6.0