Skip to content

Releases: wapc/as-guest

Result class for error handling

15 Jul 00:07
Compare
Choose a tag to compare

This contains a small breaking change in that function handlers must return a Result class.

Before:

export type Function = (payload: ArrayBuffer) => ArrayBuffer

After:

export type Function = (payload: ArrayBuffer) => Result<ArrayBuffer>