fix: clarify PGRST204 error message

This commit is contained in:
steve-chavez
2024-05-09 18:56:47 +02:00
committed by Wolfgang Walther
parent 687558937c
commit 977710f442
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ instance JSON.ToJSON ApiRequestError where
(Just "Try renaming the parameters or the function itself in the database so function overloading can be resolved")
toJSON (ColumnNotFound relName colName) = toJsonPgrstError
SchemaCacheErrorCode04 ("Column '" <> colName <> "' of relation '" <> relName <> "' does not exist") Nothing Nothing
SchemaCacheErrorCode04 ("Could not find the '" <> colName <> "' column of '" <> relName <> "' in the schema cache") Nothing Nothing
-- |
-- If no relationship is found then: