using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CustomizePlus.Api.Enums; /// /// Error codes returned by some API methods /// public enum ErrorCode { Success = 0, /// /// Returned when invalid character address was provided /// InvalidCharacter = 1, /// /// Returned if IPCCharacterProfile could not be deserialized or deserialized into an empty object /// CorruptedProfile = 2, /// /// Provided character does not have active profiles, provided profile id is invalid or provided profile id is not valid for use in current function /// ProfileNotFound = 3, /// /// General error telling that one of the provided arguments were invalid. /// InvalidArgument = 4, UnknownError = 255 }