Skip to content

Add support for defining error codes and adapt function bodys #1

Open
@t-b

Description

@t-b
  • Create errors.h and errors.rc/errors.r

Example:

#define MY_ERROR = "Error Message";
  • Output code of functions completely
// string JSON_GetType(variable jsonID, string path)
extern "C" int JSON_GetType(JSON_GetTypeParams *p)
{
  BEGIN_OUTER_CATCH

  LockGuard lock(mutex);
  err = Handler().JSON_GetType(p);

  END_OUTER_CATCH
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions