///
/// DocumentCameraError.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 `DocumentCameraError`, backed by a C++ struct.
 */
public typealias DocumentCameraError = margelo.nitro.one.DocumentCameraError

public extension DocumentCameraError {
  private typealias bridge = margelo.nitro.one.bridge.swift

  /**
   * Create a new instance of `DocumentCameraError`.
   */
  init(domain: String, code: Double, localizedDescription: String) {
    self.init(std.string(domain), code, std.string(localizedDescription))
  }

  @inline(__always)
  var domain: String {
    return String(self.__domain)
  }
  
  @inline(__always)
  var code: Double {
    return self.__code
  }
  
  @inline(__always)
  var localizedDescription: String {
    return String(self.__localizedDescription)
  }
}
