Maybe I'm simply not understanding but...
Try `WebUtils jsonDecode: 'Hello World' readStream`
You get a notifier because quite rightly there is an error. But you can proceed.
And that actually just returns the Error exception object. Which seems wrong, given that Error>>#isResumable returns false.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: SDD: Scratch Disk and Die
My understanding is proceeding the debugger is not the same as resuming an exception.
`self error` behaves the same but
`[self error] on: Error do: [:ex | ex resume]` gives you the Illegal resume attempt…
From: tim Rowledgemailto:tim@rowledge.org Sent: Wednesday, January 5, 2022 2:04 To: The general-purpose Squeak developers listmailto:squeak-dev@lists.squeakfoundation.org Subject: [squeak-dev] Should a non-resumable exception proceed from a debugger?
Maybe I'm simply not understanding but...
Try `WebUtils jsonDecode: 'Hello World' readStream`
You get a notifier because quite rightly there is an error. But you can proceed.
And that actually just returns the Error exception object. Which seems wrong, given that Error>>#isResumable returns false.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: SDD: Scratch Disk and Die
squeak-dev@lists.squeakfoundation.org