create

fun create(errorType: NavigationErrorType, message: String): NavigationError

Creates a new NavigationError with the given type and message.