All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.routing.api.response.RoutingErrorCode Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.routing.api.response;

public enum RoutingErrorCode {
  /**
   * The origin and destination is not connected by transit, regardless of search time.
   */
  NO_TRANSIT_CONNECTION,

  /**
   * The origin and destination is not connected by transit, within the current search window.
   */
  NO_TRANSIT_CONNECTION_IN_SEARCH_WINDOW,

  /**
   * The origin and destination are so close to each other, that walking is always better than transit.
   */
  WALKING_BETTER_THAN_TRANSIT,

  /**
   * Location was found, but it was located outside the street network.
   */
  OUTSIDE_BOUNDS,

  /**
   * The time provided was outside the available service period.
   */
  OUTSIDE_SERVICE_PERIOD,

  /**
   * The location could not be matched to a valid id or coordinate.
   */
  LOCATION_NOT_FOUND,

  /**
   * The location was found, but no stops could be found within the search radius.
   */
  NO_STOPS_IN_RANGE,

  SYSTEM_ERROR
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy