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

public extension RequestException {
  private typealias bridge = margelo.nitro.nitrofetch.bridge.swift

  /**
   * Create a new instance of `RequestException`.
   */
  init(message: String) {
    self.init(std.string(message))
  }

  @inline(__always)
  var message: String {
    return String(self.__message)
  }
}
