effect-ts-laws
    Preparing search index...

    Variable errorConst

    error: (message: fc.Arbitrary<string>) => fc.Arbitrary<Error> = ...

    Build an arbitrary error from an arbitrary of a message.

    Type declaration

      • (message: fc.Arbitrary<string>): fc.Arbitrary<Error>
      • Parameters

        • message: fc.Arbitrary<string>

          Arbitrary for the error message string.

        Returns fc.Arbitrary<Error>

        Arbitrary error.