view man/mlk-err.3 @ 551:856c2e96189d

cmake: add support for maps/tilesets
author David Demelier <markand@malikania.fr>
date Mon, 06 Mar 2023 20:44:43 +0100
parents c9bd1ff1ebe1
children
line wrap: on
line source

.Dd $Mdocdate$
.Dt MLK-ERR 3
.Os
.Sh NAME
.Nm mlk-err
.Nd error management in mlk library
.Sh LIBRARY
libmlk-core (-lmlk-core)
.Sh SYNOPSIS
.In mlk/core/err.h
.Sh DESCRIPTION
This manual page describes error codes that may occur within the molko
framework. All errors are defined with negative numbers, the only exception
being
.Er MLK_ERR_NONE
which is equal to 0.
.Pp
The following macro constants are defined:
.Bl -tag -width Ds
.It Er MLK_ERR_NONE
Equal to 0, no error.
.It Er MLK_ERR_NO_MEM
No more memory available.
.It Er MLK_ERR_NO_SUPPORT
The file format or function is not supported.
.It Er MLK_ERR_FORMAT
The file is corrupt or invalid.
.El
.Pp
There are other private error codes that are internal to the framework and not
listed as they may change over time, if the caller inspects individual error
codes it should also be took in account which in this case the function
.Fn mlk_err_string
may comes handy.
.Sh SEE ALSO
.Xr mlk_err_string 3
.Sh AUTHORS
.An David Demelier Aq Mt markand@malikania.fr .