///
/// NativeAzureError.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

import NitroModules

/**
 * Represents an instance of `NativeAzureError`, backed by a C++ struct.
 */
public typealias NativeAzureError = margelo.nitro.clarion.azure.NativeAzureError

public extension NativeAzureError {
  private typealias bridge = margelo.nitro.clarion.azure.bridge.swift

  /**
   * Create a new instance of `NativeAzureError`.
   */
  init(code: String, message: String, recoverable: Bool) {
    self.init(std.string(code), std.string(message), recoverable)
  }

  @inline(__always)
  var code: String {
    return String(self.__code)
  }
  
  @inline(__always)
  var message: String {
    return String(self.__message)
  }
  
  @inline(__always)
  var recoverable: Bool {
    return self.__recoverable
  }
}
