Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Co-authored-by: zach <[email protected]>
  • Loading branch information
Marton6 and zshipko authored Mar 12, 2024
1 parent 2013ed8 commit c7d77b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extism.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ func (plugin *Plugin) GetError() string {
return plugin.GetErrorWithContext(context.Background())
}

// GetError retrieves the error message from the last WebAssembly function call, if any.
// GetErrorWithContext retrieves the error message from the last WebAssembly function call.
func (plugin *Plugin) GetErrorWithContext(ctx context.Context) string {
errOffs, err := plugin.Runtime.Extism.ExportedFunction("error_get").Call(ctx)
if err != nil {
Expand Down

0 comments on commit c7d77b2

Please sign in to comment.