class Async::Container::Threaded::Child::Status

def as_json(...)

@returns [Boolean | String] If the status is an error, the error message is returned, otherwise `true`.

Convert the status to a hash, suitable for serialization.
def as_json(...)
	if @error
		@error.inspect
	else
		true
	end
end