moonbitlang/docx2html/core does not have a README file

    DocxError

    pub(all) suberror DocxError {
    InvalidZip(message~ : String)
    InvalidXml(message~ : String)
    MissingPart(message~ : String)
    Unsupported(message~ : String)
    ResourceLimit(limit~ : DocxXmlResourceLimit, message~ : String)
    WriteResourceLimit(kind~ : String, limit~ : Int64, actual~ : Int64, message~ : String)
    } derive(Eq,
    Debug
    )

    Errors raised for invalid archives, invalid XML, missing parts, or unsupported input.

    DocxError::description

    fn DocxError::description(self : DocxError) -> String

    Returns the stable caller-facing message for every DOCX error variant.

    DocxError::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn DocxError::equal(DocxError, DocxError) -> Bool

    DocxError::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn DocxError::not_equal(x : DocxError, y : DocxError) -> Bool

    DocxError::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn DocxError::to_repr(DocxError) ->
    Repr

    DocxError::xml_resource_limit

    fn DocxError::xml_resource_limit(self : DocxError) -> DocxXmlResourceLimit?

    Returns the typed XML resource discriminator, if this error represents a bounded parser/scanner guard rather than malformed document content.

    ConversionResult

    pub(all) struct ConversionResult {
    value : String
    messages : Array[Message]
    } derive(Eq,
    Debug
    )

    Converted value together with accumulated diagnostics.

    ConversionResult::combine

    Combines two conversion results.

    ConversionResult::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn ConversionResult::equal(ConversionResult, ConversionResult) -> Bool

    ConversionResult::flat_map

    fn ConversionResult::flat_map(self : ConversionResult, f : (String) -> ConversionResult raise?) -> ConversionResult raise?

    Flat-maps the converted value while preserving diagnostics.

    ConversionResult::map

    fn ConversionResult::map(self : ConversionResult, f : (String) -> String raise?) -> ConversionResult raise?

    Maps the converted value while preserving diagnostics.

    ConversionResult::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn ConversionResult::not_equal(x : ConversionResult, y : ConversionResult) -> Bool

    ConversionResult::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn ConversionResult::to_repr(ConversionResult) ->
    Repr

    DocxXmlResourceLimit

    pub(all) enum DocxXmlResourceLimit {
    DocxXmlSourceUnits
    DocxXmlTokens
    DocxXmlTokenLength
    DocxXmlMaterializedCharacters
    DocxXmlNestingDepth
    } derive(Eq,
    Debug
    )

    A machine-readable XML work or allocation guard. Keeping this distinct from diagnostic text prevents document-controlled names and identifiers from forging resource-limit status at higher API layers.

    DocxXmlResourceLimit::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn DocxXmlResourceLimit::equal(DocxXmlResourceLimit, DocxXmlResourceLimit) -> Bool

    DocxXmlResourceLimit::message

    fn DocxXmlResourceLimit::message(self : DocxXmlResourceLimit) -> String

    Stable human-readable text retained for CLI and validation diagnostics.

    DocxXmlResourceLimit::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn DocxXmlResourceLimit::not_equal(x : DocxXmlResourceLimit, y : DocxXmlResourceLimit) -> Bool

    DocxXmlResourceLimit::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn DocxXmlResourceLimit::to_repr(DocxXmlResourceLimit) ->
    Repr

    Message

    pub(all) enum Message {
    Warning(String)
    Error(String)
    } derive(Eq,
    Debug
    )

    Diagnostic emitted while reading or converting a document.

    Message::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn Message::equal(Message, Message) -> Bool

    Message::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn Message::not_equal(x : Message, y : Message) -> Bool

    Message::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn Message::to_repr(Message) ->
    Repr

    combine_results

    fn combine_results(results : Array[ConversionResult]) -> ConversionResult

    Combines conversion results, preserving values and diagnostics.

    contextual_docx_xml_resource_limit_error

    fn contextual_docx_xml_resource_limit_error(limit : DocxXmlResourceLimit, message : String) -> DocxError

    Adds trusted operation context while preserving the machine discriminator.

    dedupe_messages

    fn dedupe_messages(messages : Array[Message]) -> Array[Message]

    Removes duplicate diagnostics while preserving order.

    docx_xml_resource_limit_error

    fn docx_xml_resource_limit_error(limit : DocxXmlResourceLimit) -> DocxError

    Constructs a typed XML resource error with its stable default diagnostic.

    error

    fn error(message : String) -> Message

    Creates an error diagnostic.

    success

    fn success(value : String) -> ConversionResult

    Creates a successful conversion result with no diagnostics.

    warning

    fn warning(message : String) -> Message

    Creates a warning diagnostic.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io