11 lines
218 B
TypeScript
11 lines
218 B
TypeScript
|
import { baseMessage } from "./baseMessage";
|
||
|
|
||
|
/**
|
||
|
* Creates a response for an unknown route
|
||
|
*
|
||
|
* @returns the unknown route message
|
||
|
*/
|
||
|
export function unknownRoute() {
|
||
|
return baseMessage(true, "Unknown route");
|
||
|
}
|