Skip to content

Conversation

@Janpot
Copy link

@Janpot Janpot commented Sep 5, 2025

Janpot and others added 30 commits February 18, 2025 18:00
…isplay.tsx

Co-authored-by: Michał Dudak <[email protected]>
Signed-off-by: Jan Potoms <[email protected]>
import * as React from 'react';
import { notFound } from 'next/navigation';
import PageContent from './PageContent.mdx';
import codes from '../../../../../error-codes.json';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import codes from 'docs/src/error-codes.json';

* ...
* @param {number} code
*/
export default function formatErrorMessage(code: number, ...args: string[]): string {
Copy link
Owner

@brijeshb42 brijeshb42 Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be part of utils package and used within utils package as well as the react package since the extraction runs on both the packages.

@brijeshb42 brijeshb42 force-pushed the error-code-extraction branch 4 times, most recently from d936046 to 2dbc69c Compare September 5, 2025 14:54
@brijeshb42 brijeshb42 force-pushed the error-code-extraction branch 4 times, most recently from 3e1029c to 4a7124d Compare September 8, 2025 15:18
@brijeshb42 brijeshb42 force-pushed the error-code-extraction branch 2 times, most recently from 187001a to 43d8fdd Compare September 29, 2025 07:12
Janpot and others added 2 commits September 30, 2025 11:34
Co-authored-by: Olivier Tassinari <[email protected]>
Signed-off-by: Jan Potoms <[email protected]>
Co-authored-by: Olivier Tassinari <[email protected]>
Signed-off-by: Jan Potoms <[email protected]>
@brijeshb42 brijeshb42 force-pushed the error-code-extraction branch from 0a4803a to 4e1c986 Compare October 15, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants