```ruby
class ErrorsController < ApplicationController
  def error404
    render status: :not_found
  end
end
```

Add an action for Status Code 500 in the Errors Controller.
user
```ruby
class ErrorsController < ApplicationController
  def error404
    render status: :not_found
  end

  def error500
    render status: :internal_server_error
  end
end
```
assistant