• Renders a Fatal error to the console inside a banner.

    Parameters

    • error: FatalError
    • __namedParameters: RenderFatalErrorOptions = {}

    Returns undefined | string

    Example

    Basic
    ╭─ error ──────────────────────────────────────────────────╮
    │ │
    Something went wrong. │
    │ │
    To investigate the issue, examine this stack trace: │
    at _compile (internal/modules/cjs/loader.js:1137) │
    at js (internal/modules/cjs/loader.js:1157) │
    at load (internal/modules/cjs/loader.js:985) │
    at _load (internal/modules/cjs/loader.js:878) │
    │ │
    ╰──────────────────────────────────────────────────────────╯

    Example

    Complete
    ╭─ error ──────────────────────────────────────────────────╮
    │ │
    No Organization found
    │ │
    Next steps
    │ • Have you created a Shopify Partners organization
    │ [1]? │
    │ • Have you confirmed your accounts from the emails
    you received? │
    │ • Need to connect to a different App or
    organization? Run the command again with `--reset`
    │ │
    amortizable-marketplace-ext
    │ • Some other error
    Validation errors
    │ • Missing expected key(s). │
    │ │
    amortizable-marketplace-ext-2
    │ • Something was not found
    │ │
    ╰──────────────────────────────────────────────────────────╯
    [1] https://partners.shopify.com/signup