Completed gist of parameterExcept
Added assertions and exception for properties