ICanBoogie
  • Documentation
  • API Reference
  • Routing 4.0.x
Namespaces
  • ICanBoogie
    • Routing
      • Controller
      • Route
      • RouteDispatcher
Classes
  • ClosureController
  • Controller
  • FormattedRoute
  • Helpers
  • Pattern
  • Route
  • RouteCollection
  • RouteDefinition
  • RouteDispatcher
  • RouteMaker
Interfaces
  • Exception
  • ToSlug
Exceptions
  • ActionNotDefined
  • ControllerNotDefined
  • PatternNotDefined
  • PatternRequiresValues
  • RouteNotDefined

Class RouteNotDefined

Exception thrown when a route does not exists.

Exception implements Throwable
┗ ICanBoogie\Routing\RouteNotDefined implements ICanBoogie\Routing\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\Routing
Located at RouteNotDefined.php

Methods summary

protected get_id( void )
public __construct( string $id, integer $code = Status::NOT_FOUND, ICanBoogie\Routing\Exception $previous = null )

Parameters

$id
Identifier of the route.
$code
$previous

Overrides

Exception::__construct
protected format_message( string $id ) : string

Formats exception message.

Formats exception message.

Parameters

$id

Returns

string

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only $id : string

The identifier of the route.

Routing 4.0.x – Check on GitHub – API documentation generated by ApiGen