Index: Source/modules/indexeddb/IDBCursor.cpp |
diff --git a/Source/modules/indexeddb/IDBCursor.cpp b/Source/modules/indexeddb/IDBCursor.cpp |
index ed68e84584ce7cb5e220a845a730adf99e6927d3..0656165b47cfa35089f73472e583c1e2254483a6 100644 |
--- a/Source/modules/indexeddb/IDBCursor.cpp |
+++ b/Source/modules/indexeddb/IDBCursor.cpp |
@@ -391,7 +391,7 @@ IndexedDB::CursorDirection IDBCursor::stringToDirection(const String& directionS |
if (directionString == IDBCursor::directionPrevUnique()) |
return IndexedDB::CursorPrevNoDuplicate; |
- exceptionState.throwUninformativeAndGenericTypeError(); |
+ exceptionState.throwTypeError("The direction provided ('" + directionString + "') is not one of 'next', 'nextunique', 'prev', or 'prevunique'."); |
return IndexedDB::CursorNext; |
} |