ProcLib 0.0.1.0
A cross-platform process runner.
Loading...
Searching...
No Matches
error.hxx
Go to the documentation of this file.
1//
2// Copyright (c) 2026 Jamie Kenyon. All Rights Reserved.
3//
4
5#pragma once
6
7#include <system_error>
8
9namespace pl
10{
12 enum class ErrorCode
13 {
14 NoError,
17 };
18
22 [[nodiscard]] auto makeErrorCode(ErrorCode const code) -> std::error_code;
23} // namespace pl
Definition error.hxx:10
auto makeErrorCode(ErrorCode const code) -> std::error_code
ErrorCode
The possible errors relating to the reading or writing of PAK files.
Definition error.hxx:13
@ ProcessAlreadyStarted
The process has already been started and cannot be started again.
@ NoError
No error has occurred.
@ ProcessNotStarted
The process has not been started.