serenity/AK
Andreas Kling c4edb9f6c2 AK: Add Error and ErrorOr<T>
The goal with these is to eventually replace AK::Result, KResult and
KResultOr<T> with something that works (and makes sense) in both kernel
and userspace.

This first cut of Error can be made from an errno code, or from a string
literal (StringView)
2021-11-08 00:35:27 +01:00
..
AllOf.h
AnyOf.h
Array.h
Assertions.h
Atomic.h
Badge.h
Base64.cpp AK+Everywhere: Make Base64 decoding fallible 2021-10-23 19:16:40 +01:00
Base64.h AK+Everywhere: Make Base64 decoding fallible 2021-10-23 19:16:40 +01:00
BinaryBufferWriter.h
BinaryHeap.h
BinarySearch.h
BitCast.h
Bitmap.h
BitmapView.h
BitStream.h
Buffered.h
BumpAllocator.h AK: Make BumpAllocator work in multi-threaded environments 2021-10-31 18:43:03 +01:00
ByteBuffer.h
ByteReader.h
CharacterTypes.h
Checked.h
CheckedFormatString.h
CircularDeque.h
CircularDuplexStream.h
CircularQueue.h
CMakeLists.txt
Complex.h
Concepts.h
DateTimeLexer.h
Debug.h.in
Demangle.h
DisjointChunks.h
DistinctNumeric.h AK+Kernel: Format DistinctNumeric using the underlying type's formatter 2021-10-21 22:19:50 +02:00
DoublyLinkedList.h
Endian.h
EnumBits.h
Error.h AK: Add Error and ErrorOr<T> 2021-11-08 00:35:27 +01:00
ExtraMathConstants.h
FileStream.h
Find.h
FixedArray.h
FixedPoint.h
FlyString.cpp
FlyString.h
Format.cpp AK+Tests: Fix formatting of infinity and NaN values 2021-10-31 12:15:34 +01:00
Format.h AK: Avoid temporary String allocation in Formatter<FormatString> 2021-10-21 22:19:50 +02:00
Forward.h
Function.h
GenericLexer.cpp
GenericLexer.h
HashFunctions.h
HashMap.h
HashTable.h
Hex.cpp
Hex.h
IDAllocator.h
IntrusiveDetails.h
IntrusiveList.h
IntrusiveListRelaxedConst.h
IntrusiveRedBlackTree.h
IPv4Address.h
IterationDecision.h
Iterator.h
JsonArray.h
JsonArraySerializer.h
JsonObject.h
JsonObjectSerializer.h
JsonParser.cpp
JsonParser.h
JsonPath.cpp
JsonPath.h
JsonValue.cpp
JsonValue.h
kmalloc.cpp
kmalloc.h
kstdio.h
LEB128.h
LexicalPath.cpp
LexicalPath.h
MACAddress.h
MappedFile.cpp
MappedFile.h
Math.h
MemMem.h
Memory.h
MemoryStream.h
NeverDestroyed.h
Noncopyable.h
NonnullOwnPtr.h
NonnullOwnPtrVector.h
NonnullPtrVector.h
NonnullRefPtr.h
NonnullRefPtrVector.h
NumberFormat.h
NumericLimits.h
Optional.h AK: Always inline Optional::release_value() 2021-10-25 14:31:46 +02:00
OSError.h
OwnPtr.h
Platform.h
PrintfImplementation.h
Ptr32.h
Queue.h
QuickSort.h
Random.cpp
Random.h
RecursionDecision.h
RedBlackTree.h
RefCounted.h
RefPtr.h
Result.h
ScopedValueRollback.h
ScopeGuard.h
ScopeLogger.h
SIMD.h
Singleton.h Kernel: Split ScopedCritical so header is platform independent 2021-10-15 21:48:45 +01:00
SinglyLinkedList.h
SinglyLinkedListWithCount.h
SourceGenerator.h
SourceLocation.h
Span.h AK: Make Span trivially copy-constructible 2021-10-17 17:09:58 +01:00
Stack.h
StackInfo.cpp
StackInfo.h
Statistics.h AK: Add min and max functions to Statistics 2021-11-06 22:09:25 -07:00
StdLibExtraDetails.h AK: Add IsPOD<T> template to StdLibExtras 2021-10-21 09:02:23 +01:00
StdLibExtras.h
Stream.h
String.cpp
String.h
StringBuilder.cpp AK: Use UnicodeUtils::code_point_to_utf8 in StringBuilder 2021-10-15 21:50:19 -07:00
StringBuilder.h
StringHash.h AK: Allow seed value to be specified in string_hash() 2021-10-25 23:37:18 +02:00
StringImpl.cpp AK: Add fast path for constructing StringImpl from "" literal 2021-10-25 13:29:44 +02:00
StringImpl.h
StringUtils.cpp
StringUtils.h
StringView.cpp
StringView.h
TemporaryChange.h
Time.cpp
Time.h
Traits.h
Trie.h
Try.h
Tuple.h
TypeCasts.h
TypedTransfer.h
TypeList.h
Types.h
UBSanitizer.h
UFixedBigInt.h
UnicodeUtils.cpp
UnicodeUtils.h LibC: Implement wcrtomb 2021-10-15 21:50:19 -07:00
URL.cpp
URL.h
URLParser.cpp
URLParser.h
Userspace.h
Utf8View.cpp
Utf8View.h
Utf16View.cpp
Utf16View.h
Utf32View.h
UUID.cpp
UUID.h
Variant.h
Vector.h
Weakable.h Kernel: Split ScopedCritical so header is platform independent 2021-10-15 21:48:45 +01:00
WeakPtr.h