// Auto-generated by BoltFFI. Do not edit.
// swiftlint:disable all
// swiftformat:disable all

import Foundation
{%- if let Some(ffi_module) = ffi_module_name %}
import {{ ffi_module }}
typealias BoltFFICallbackHandle = {{ ffi_module }}.BoltFFICallbackHandle
{%- endif %}

public struct FfiError: Error {
    public let message: String
    public init(message: String) { self.message = message }
{%- if let Some(ffi_module) = ffi_module_name %}
    public init(fromC c: {{ ffi_module }}.FfiError) {
        self.message = stringFromFfi(c.message)
    }
{%- endif %}
}
