@@ -205,7 +205,7 @@ const CX_FIELD_VISITOR_CALLBACK = new Deno.UnsafeCallback(
205205 * handler (if any).
206206 *
207207 * When called with `false`, removes the currently installed error handler (if any).
208- * If no error handler is intalled , the default strategy is to print error
208+ * If no error handler is installed , the default strategy is to print error
209209 * message to stderr and call exit(1).
210210 *
211211 * **WARNING**: This API is not supported on Windows and will throw an error
@@ -817,7 +817,7 @@ export class CXTranslationUnit {
817817 { cause : result } ,
818818 ) ;
819819 } else if ( result !== 0 ) {
820- throw new Error ( "Saving CXTranslationUnit failed: Unkown error code" , {
820+ throw new Error ( "Saving CXTranslationUnit failed: Unknown error code" , {
821821 cause : result ,
822822 } ) ;
823823 }
@@ -7446,7 +7446,7 @@ export class CXDiagnosticSet {
74467446 ) ;
74477447 } else if ( errorNumber === CXLoadDiag_Error . CXLoadDiag_Unknown ) {
74487448 throw new Error (
7449- "Loading diagnostics failed: Unkown error" ,
7449+ "Loading diagnostics failed: Unknown error" ,
74507450 errorString ? { cause : errorString } : undefined ,
74517451 ) ;
74527452 } else {
@@ -7530,7 +7530,7 @@ export class CXDiagnostic {
75307530 */
75317531 getChildDiagnostics ( ) : null | CXDiagnosticSet {
75327532 if ( this . #disposed) {
7533- throw new Error ( "Cannot get children of diposed CXDiagnostic" ) ;
7533+ throw new Error ( "Cannot get children of disposed CXDiagnostic" ) ;
75347534 }
75357535 const pointer = libclang . symbols . clang_getChildDiagnostics ( this . #pointer) ;
75367536 if ( pointer === null ) {
0 commit comments