Skip to content

Commit

Permalink
Add status code enum
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Jul 6, 2024
1 parent faaea58 commit d5858e7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions source/base/inc/tactile/base/status_code.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Copyright (C) 2024 Albin Johansson (GNU General Public License v3.0)

#pragma once

#include "tactile/base/int.hpp"
#include "tactile/base/prelude.hpp"

namespace tactile {

/**
* Provides low-level status codes intended to be used across DLL boundaries.
*/
enum class StatusCode : uint8
{
kOK,
kUnsupported,
kErrUnknown,
kErrBadAlloc,
kErrBadParam
};

} // namespace tactile

0 comments on commit d5858e7

Please sign in to comment.