se supone que mcp server up
All checks were successful
build-and-push / build (push) Successful in 17s
build-and-push / deploy (push) Successful in 19s

This commit is contained in:
2025-05-02 19:33:50 -06:00
parent 022086f49d
commit b5e40cf4ac
1516 changed files with 242801 additions and 1 deletions

44
mcp/node_modules/eventsource-parser/src/errors.ts generated vendored Normal file
View File

@@ -0,0 +1,44 @@
/**
* The type of error that occurred.
* @public
*/
export type ErrorType = 'invalid-retry' | 'unknown-field'
/**
* Error thrown when encountering an issue during parsing.
*
* @public
*/
export class ParseError extends Error {
/**
* The type of error that occurred.
*/
type: ErrorType
/**
* In the case of an unknown field encountered in the stream, this will be the field name.
*/
field?: string
/**
* In the case of an unknown field encountered in the stream, this will be the value of the field.
*/
value?: string
/**
* The line that caused the error, if available.
*/
line?: string
constructor(
message: string,
options: {type: ErrorType; field?: string; value?: string; line?: string},
) {
super(message)
this.name = 'ParseError'
this.type = options.type
this.field = options.field
this.value = options.value
this.line = options.line
}
}