File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,22 +34,22 @@ extension Routable {
3434 _ routeElementIdentifier: RouteElementIdentifier ,
3535 animated: Bool ,
3636 completionHandler: @escaping RoutingCompletionHandler ) -> Routable {
37- fatalError ( " This routable cannot change segments. You have not implemented it. " )
37+ fatalError ( " This routable cannot push segments. You have not implemented it. (Asked \( type ( of : self ) ) to push \( routeElementIdentifier ) ) " )
3838 }
3939
4040 public func popRouteSegment(
4141 _ routeElementIdentifier: RouteElementIdentifier ,
4242 animated: Bool ,
4343 completionHandler: @escaping RoutingCompletionHandler ) {
44- fatalError ( " This routable cannot change segments. You have not implemented it. " )
44+ fatalError ( " This routable cannot pop segments. You have not implemented it. (Asked \( type ( of : self ) ) to pop \( routeElementIdentifier ) ) " )
4545 }
4646
4747 public func changeRouteSegment(
4848 _ from: RouteElementIdentifier ,
4949 to: RouteElementIdentifier ,
5050 animated: Bool ,
5151 completionHandler: @escaping RoutingCompletionHandler ) -> Routable {
52- fatalError ( " This routable cannot change segments. You have not implemented it. " )
52+ fatalError ( " This routable cannot change segments. You have not implemented it. (Asked \( type ( of : self ) ) to change from \( from ) to \( to ) ) " )
5353 }
5454
5555}
You can’t perform that action at this time.
0 commit comments