mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 07:03:34 +00:00
adding imputs system
This commit is contained in:
31
src/core/errors.h
git.filemode.normal_file
31
src/core/errors.h
git.filemode.normal_file
@@ -0,0 +1,31 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* errors.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/10/04 17:42:32 by maldavid #+# #+# */
|
||||
/* Updated: 2022/10/04 21:51:42 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef __MLX_ERRORS__
|
||||
#define __MLX_ERRORS__
|
||||
|
||||
#include <string>
|
||||
|
||||
enum class e_kind
|
||||
{
|
||||
message,
|
||||
warning,
|
||||
error,
|
||||
fatal_error
|
||||
};
|
||||
|
||||
namespace mlx::core::error
|
||||
{
|
||||
void report(e_kind kind, std::string msg);
|
||||
}
|
||||
|
||||
#endif // __MLX_ERRORS__
|
||||
Reference in New Issue
Block a user