summaryrefslogtreecommitdiff
path: root/AK/Forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Forward.h')
-rw-r--r--AK/Forward.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/AK/Forward.h b/AK/Forward.h
index 3534cb529e..638ffaa6d8 100644
--- a/AK/Forward.h
+++ b/AK/Forward.h
@@ -17,6 +17,7 @@ class ByteBuffer;
class Bitmap;
using ByteBuffer = AK::Detail::ByteBuffer<32>;
+class Error;
class GenericLexer;
class IPv4Address;
class JsonArray;
@@ -125,6 +126,9 @@ class WeakPtr;
template<typename T, size_t inline_capacity = 0>
requires(!IsRvalueReference<T>) class Vector;
+template<typename T, typename ErrorType = Error>
+class [[nodiscard]] ErrorOr;
+
}
using AK::Array;
@@ -137,6 +141,8 @@ using AK::CircularDuplexStream;
using AK::CircularQueue;
using AK::DoublyLinkedList;
using AK::DuplexMemoryStream;
+using AK::Error;
+using AK::ErrorOr;
using AK::FixedArray;
using AK::FlyString;
using AK::Function;