Skip to content

Commit

Permalink
Genericize error to avoid gtoolkit specificity [feenkcom/gtoolkit#4322]
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Mar 3, 2025
1 parent 2132e96 commit 19868b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gt4Llm/GtLlmFunctionTool.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ GtLlmFunctionTool >> method [
split := '_' split: name.
class := split first asClassIfAbsent: [ ^ nil ].
methodName := ':' join: split allButFirst.
^ [ class >> methodName asSymbol ] on: KeyNotFound do: [ nil ]
^ [ class >> methodName asSymbol ] on: Error do: [ nil ]
]

{ #category : #accessing }
Expand Down

0 comments on commit 19868b3

Please sign in to comment.