fix: clarify PGRST204 error message
This commit is contained in:
committed by
Wolfgang Walther
parent
687558937c
commit
977710f442
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user