Show / Hide Table of Contents

Enum ErrorCode

Enumeration of error codes.

Namespace: ClingoSharp.CoreServices.Enums
Assembly: ClingoSharp.CoreServices.dll
Syntax
public enum ErrorCode
Remarks

Errors can only be recovered from if explicitly mentioned; most functions do not provide strong exception guarantees. This means that in case of errors associated objects cannot be used further. If such an object has a free function, this function can and should still be called.

Fields

Name Description
BadAlloc

memory could not be allocated

LogicError

wrong usage of the clingo API

RuntimeError

errors only detectable at runtime like invalid input

Success

successful API calls

Unknown

errors unrelated to clingo

  • Improve this Doc
  • View Source
Back to top Generated by DocFX