trustWeaveException

Helper function to create a TrustWeaveException from a simple message.

This is a convenience function for cases where you need a generic exception but don't have specific context. Prefer using specific exception types when possible.

Return

TrustWeaveException.Unknown with the provided message

Parameters

message

The error message

cause

Optional underlying exception