mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
17 lines
321 B
C++
17 lines
321 B
C++
|
/*
|
||
|
* Copyright (c) 2023, Liav A. <liavalb@hotmail.co.il>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include <AK/Error.h>
|
||
|
|
||
|
namespace AK {
|
||
|
|
||
|
Error Error::from_string_view_or_print_error_and_return_errno(StringView string_literal, [[maybe_unused]] int code)
|
||
|
{
|
||
|
return Error::from_string_view(string_literal);
|
||
|
}
|
||
|
|
||
|
}
|