From 3a3a192b8c8a00648666dfd64d71e37368c89107 Mon Sep 17 00:00:00 2001 From: Daniel Diaz <39510674+IslandRhythms@users.noreply.github.com> Date: Thu, 20 Apr 2023 13:09:54 -0400 Subject: [PATCH] added correct link --- lib/schematype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/schematype.js b/lib/schematype.js index 050341d7d06..673f85761c8 100644 --- a/lib/schematype.js +++ b/lib/schematype.js @@ -825,7 +825,7 @@ SchemaType.prototype.get = function(fn) { * From the examples above, you may have noticed that error messages support * basic templating. There are a few other template keywords besides `{PATH}` * and `{VALUE}` too. To find out more, details are available - * [here](#error_messages_MongooseError-messages). + * [here](/docs/api/error.html#Error.prototype.name). * * If Mongoose's built-in error message templating isn't enough, Mongoose * supports setting the `message` property to a function.