text: //
  //  MXEErrorCode.h
  //  MantleXMLExtension
  //
  //  Created by Hinagiku Soranoba on 2017/01/17.
  //  Copyright © 2017年 Hinagiku Soranoba. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  
  typedef NS_ENUM(NSUInteger, MXEErrorCode) {
      MXEErrorUnknown = 0,
      /// Could not conversion, because nil was inputted.
      MXEErrorNilInputData,
      /// The element name of the XML Node is different from defined one in the model class
      MXEErrorElementNameDoesNotMatch,
      /// There was an input data that is different from the expected type.
      MXEErrorInvalidInputData,
      /// Input a xml declaration is invalid format.
      MXEErrorInvalidXmlDeclaration,
      /// MantleXMLExtension does not support the encoding.
      MXEErrorNotSupportedEncoding,
      /// classForParsingXmlNode: returns nil.
      MXEErrorNoConversionTarget,
      /// Exception thrown in transform
      MXEErrorExceptionThrown,
  
      MXEErrorNil __attribute__((unavailable("Replaced by MXEErrorNilInputData"))),
      MXEErrorInvalidRootNode __attribute((unavailable("Replaced by MXEErrorElementNameDoesNotMatch"))),
  };
  
  /// The domain for errors originating from MantleXMLExtension
  extern NSString* _Nonnull const MXEErrorDomain;
  /// A key that stores the input data that caused the error
  extern NSString* _Nonnull const MXEErrorInputDataKey;
  /// A key that stores the caught exception
  extern NSString* _Nonnull const MXEErrorExceptionKey;
  